dcorcoran commited on
Commit
5185f01
·
1 Parent(s): 2df7514

Removed / endpoint

Browse files
Files changed (1) hide show
  1. app/main.py +6 -0
app/main.py CHANGED
@@ -73,3 +73,9 @@ async def predict(file: UploadFile = File(...)):
73
  moves=ocr_data.get("moves"),
74
  similar_cards=similar_cards
75
  )
 
 
 
 
 
 
 
73
  moves=ocr_data.get("moves"),
74
  similar_cards=similar_cards
75
  )
76
+
77
+
78
+ import uvicorn
79
+
80
+ if __name__ == "__main__":
81
+ uvicorn.run("app.main:app", host="0.0.0.0", port=7860, reload=True)