Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -62,8 +62,8 @@ external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
|
|
| 62 |
# Mount the Dash app as a sub-application in the FastAPI server
|
| 63 |
#app.mount("/dashboard2", WSGIMiddleware(dashboard2.server))
|
| 64 |
|
|
|
|
| 65 |
# Start the FastAPI server
|
| 66 |
if __name__ == "__main__":
|
| 67 |
-
app = FastAPI()
|
| 68 |
app.mount("/dashboard1", WSGIMiddleware(dashboard1.server))
|
| 69 |
uvicorn.run(app, host="0.0.0.0")
|
|
|
|
| 62 |
# Mount the Dash app as a sub-application in the FastAPI server
|
| 63 |
#app.mount("/dashboard2", WSGIMiddleware(dashboard2.server))
|
| 64 |
|
| 65 |
+
app = FastAPI()
|
| 66 |
# Start the FastAPI server
|
| 67 |
if __name__ == "__main__":
|
|
|
|
| 68 |
app.mount("/dashboard1", WSGIMiddleware(dashboard1.server))
|
| 69 |
uvicorn.run(app, host="0.0.0.0")
|