Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -481,3 +481,7 @@ async def predict_disease(input_data: PredictionInput):
|
|
| 481 |
|
| 482 |
except Exception as e:
|
| 483 |
raise HTTPException(status_code=500, detail=f"Prediction error: {str(e)}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 481 |
|
| 482 |
except Exception as e:
|
| 483 |
raise HTTPException(status_code=500, detail=f"Prediction error: {str(e)}")
|
| 484 |
+
|
| 485 |
+
if __name__ == "__main__":
|
| 486 |
+
import uvicorn
|
| 487 |
+
uvicorn.run(app, host="0.0.0.0", port=8000)
|