boostedhug commited on
Commit
8e83b28
·
verified ·
1 Parent(s): 66b2442
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -63,9 +63,9 @@ async def process_frame(file: UploadFile = File(...)):
63
  return JSONResponse(content={"status": "error", "message": str(e)}, status_code=500)
64
 
65
  # Run the app
66
- # if __name__ == "__main__":
67
- # import uvicorn
68
- # uvicorn.run(app, host="0.0.0.0", port=8000)
69
 
70
  # import gradio as gr
71
  # from transformers import DetrImageProcessor, DetrForObjectDetection
 
63
  return JSONResponse(content={"status": "error", "message": str(e)}, status_code=500)
64
 
65
  # Run the app
66
+ if __name__ == "__main__":
67
+ import uvicorn
68
+ uvicorn.run(app, host="0.0.0.0", port=8000)
69
 
70
  # import gradio as gr
71
  # from transformers import DetrImageProcessor, DetrForObjectDetection