Update main.py
Browse files
main.py
CHANGED
|
@@ -53,6 +53,6 @@ external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
|
|
| 53 |
|
| 54 |
# Start the FastAPI server
|
| 55 |
if __name__ == "__main__":
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
|
|
|
| 53 |
|
| 54 |
# Start the FastAPI server
|
| 55 |
if __name__ == "__main__":
|
| 56 |
+
app = FastAPI()
|
| 57 |
+
app.mount("/dashboard1", WSGIMiddleware(dashboard1.server))
|
| 58 |
+
uvicorn.run(app, host="0.0.0.0")
|