BasselAhmed commited on
Commit
db70ac9
·
verified ·
1 Parent(s): 4fc9e12

Update fastapi_app.py

Browse files
Files changed (1) hide show
  1. fastapi_app.py +2 -0
fastapi_app.py CHANGED
@@ -30,4 +30,6 @@ async def c(query:Query):
30
 
31
  except Exception as e:
32
  raise HTTPException(detail = str(e) , status_code = 500)
 
 
33
 
 
30
 
31
  except Exception as e:
32
  raise HTTPException(detail = str(e) , status_code = 500)
33
+ if __name__ == "__main__":
34
+ uvicorn.run(app, host="0.0.0.0", port=7860)
35