I have created a visualization dashboard on dash by plotly
. It is running perfectly on local server.
But when I am uploading it on elastic beanstalk, it is showing an internal 500 error, see below
For anyone who is still looking for solutions, here is how your application.py
should be setup
import dash
app = dash.Dash(__name__)
application = app.server
.
. # your stuff ...
.
if __name__ == '__main__':
application.run(debug=True)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.