ambujm22 commited on
Commit
ac1c48d
·
verified ·
1 Parent(s): e46f7d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -194,6 +194,6 @@ async def client_disconnect_handler(request: Request, exc: ClientDisconnect):
194
  # (Queue() at mount time is fine)
195
  app = gr.mount_gradio_app(app, demo.queue(max_size=16), path="/")
196
 
197
- if __name__ == "__main__":
198
- import uvicorn
199
- uvicorn.run(app, host="0.0.0.0", port=7860)
 
194
  # (Queue() at mount time is fine)
195
  app = gr.mount_gradio_app(app, demo.queue(max_size=16), path="/")
196
 
197
+ # if __name__ == "__main__":
198
+ # import uvicorn
199
+ # uvicorn.run(app, host="0.0.0.0", port=7860)