I’m quite new to Dash and I’m trying to develop a simple application and deploy it using Render.
Within this app I’m using a dcc.Upload component where the user selects the excel file to do the analysis on.
For some reason I have not been able to make it work in the deployed version of the app (works fine when running local).
I’m pretty much using the following code (from the dash web itself):
content_type, content_string = contents.split(',') decoded = base64.b64decode(content_string) df = pd.read_excel(io.BytesIO(decoded))
and the last line seems to fail for some reason I don’t comprehend. Am I missing something or why doesn’t this work in the web when it works on my local computer? The content itself doesn’t seem to be empty and I think it’s reading it into pandas which is not working.
Thanks in advance