Nav772 commited on
Commit
ffaee22
·
verified ·
1 Parent(s): 8b350ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -496,7 +496,5 @@ with gr.Blocks(title="Audio Language Translator") as demo:
496
  """)
497
 
498
  # Mount FastAPI to Gradio
499
- app = gr.mount_gradio_app(api_app, demo, path="/")
500
-
501
  if __name__ == "__main__":
502
- uvicorn.run(app, host="0.0.0.0", port=7860)
 
496
  """)
497
 
498
  # Mount FastAPI to Gradio
 
 
499
  if __name__ == "__main__":
500
+ demo.launch(server_name="0.0.0.0", server_port=7860)