Update app.py
Browse files
app.py
CHANGED
|
@@ -387,5 +387,7 @@ async def get_classes():
|
|
| 387 |
}
|
| 388 |
|
| 389 |
# ============================================================================
|
| 390 |
-
# Run with: uvicorn plant_disease_api:app --reload --host 0.0.0.0 --port
|
| 391 |
# ============================================================================
|
|
|
|
|
|
|
|
|
| 387 |
}
|
| 388 |
|
| 389 |
# ============================================================================
|
| 390 |
+
# Run with: uvicorn plant_disease_api:app --reload --host 0.0.0.0 --port 7860
|
| 391 |
# ============================================================================
|
| 392 |
+
if __name__ == "__main__":
|
| 393 |
+
demo.launch(server_name="0.0.0.0", server_port=7860)
|