m7n commited on
Commit
803b984
·
1 Parent(s): e7fbe7e

tried fix with explicit path

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -634,7 +634,8 @@ with gr.Blocks(theme=theme, css="""
634
  )
635
 
636
  # Mount and run app
637
- app = gr.mount_gradio_app(app, demo, path="/")
 
638
 
639
  if __name__ == "__main__":
640
  uvicorn.run(app, host="0.0.0.0", port=7860)
 
634
  )
635
 
636
  # Mount and run app
637
+ #app = gr.mount_gradio_app(app, demo, path="/")
638
+ app = gr.mount_gradio_app(app, demo, path="/gradio/") # for huggingface, attempted workaround
639
 
640
  if __name__ == "__main__":
641
  uvicorn.run(app, host="0.0.0.0", port=7860)