Spaces:
Sleeping
Sleeping
Commit ·
21b208a
1
Parent(s): 46e2bfc
Remove main block for Hugging Face compatibility
Browse files
app.py
CHANGED
|
@@ -68,7 +68,5 @@ async def predict(car_options: CarOptions):
|
|
| 68 |
return {"predictions": formatted}
|
| 69 |
|
| 70 |
|
| 71 |
-
|
| 72 |
-
port = int(os.environ.get("PORT", 7860)) # Hugging Face utilisera automatiquement ce port
|
| 73 |
-
uvicorn.run(app, host="0.0.0.0", port=port)
|
| 74 |
|
|
|
|
| 68 |
return {"predictions": formatted}
|
| 69 |
|
| 70 |
|
| 71 |
+
|
|
|
|
|
|
|
| 72 |
|