Salif SAWADOGO commited on
Commit
a0fb6c8
·
1 Parent(s): b98f6d5

use app_server

Browse files
Files changed (1) hide show
  1. app/index.py +2 -5
app/index.py CHANGED
@@ -69,9 +69,6 @@ app.layout = html.Div(
69
  },
70
  )
71
 
72
- # Define the WSGI server application
73
- application = app.server
74
-
75
- # Entry point for running the app
76
  if __name__ == "__main__":
77
- application.run(debug=True, port=8080, host="0.0.0.0")
 
69
  },
70
  )
71
 
72
+ # Run the app using ASGI-compatible interface
 
 
 
73
  if __name__ == "__main__":
74
+ app.run_server(debug=True, use_reloader=False, port=7860)