licorne2lc commited on
Commit
8054e11
·
1 Parent(s): 697774c
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -63,6 +63,7 @@ async def predict(car_options: CarOptions):
63
  formatted = [f"Option {i+1}: {round(pred)} €" for i, pred in enumerate(predictions)]
64
  return {"predictions": formatted}
65
 
66
-
 
67
 
68
 
 
63
  formatted = [f"Option {i+1}: {round(pred)} €" for i, pred in enumerate(predictions)]
64
  return {"predictions": formatted}
65
 
66
+ if __name__=="__main__":
67
+ uvicorn.run(app, host="0.0.0.0", port=4000)
68
 
69