Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,5 +89,5 @@ async def predict(image_data: ImageData):
|
|
| 89 |
print(f"EXCEPTION in Predict POST: {e}")
|
| 90 |
return {'message': str(e), 'nama': '', 'probability': ''}
|
| 91 |
|
| 92 |
-
if __name__ == "__main__":
|
| 93 |
-
|
|
|
|
| 89 |
print(f"EXCEPTION in Predict POST: {e}")
|
| 90 |
return {'message': str(e), 'nama': '', 'probability': ''}
|
| 91 |
|
| 92 |
+
# if __name__ == "__main__":
|
| 93 |
+
# uvicorn.run(app, host="0.0.0.0", port=8000)
|