Lord-Raven commited on
Commit
5b34d45
·
1 Parent(s): cdc6ff7

Messing with fastAPI.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ gradio_interface = gradio.Interface(
84
  # app.mount("/gradio", gradio.routes.App.create_app(gradio_interface))
85
 
86
  # app = gradio.mount_gradio_app(app, gradio_interface, path="/gradio")
87
- gradio_interface.launch(allow_origins=["https://statosphere-3704059fdd7e.c5v4v4jx6pq5.win","https://crunchatize-77a78ffcc6a6.c5v4v4jx6pq5.win","https://crunchatize-2-2b4f5b1479a6.c5v4v4jx6pq5.win","https://tamabotchi-2dba63df3bf1.c5v4v4jx6pq5.win"])
88
 
89
  # if __name__ == "__main__":
90
  # import uvicorn
 
84
  # app.mount("/gradio", gradio.routes.App.create_app(gradio_interface))
85
 
86
  # app = gradio.mount_gradio_app(app, gradio_interface, path="/gradio")
87
+ gradio_interface.launch(allow_origin=["https://statosphere-3704059fdd7e.c5v4v4jx6pq5.win","https://crunchatize-77a78ffcc6a6.c5v4v4jx6pq5.win","https://crunchatize-2-2b4f5b1479a6.c5v4v4jx6pq5.win","https://tamabotchi-2dba63df3bf1.c5v4v4jx6pq5.win"])
88
 
89
  # if __name__ == "__main__":
90
  # import uvicorn