Rudraaaa76 commited on
Commit
48763c3
·
verified ·
1 Parent(s): 15553fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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)