Spaces:
Running
on
Zero
Running
on
Zero
Lord-Raven
commited on
Commit
·
cdc6ff7
1
Parent(s):
081f995
Messing with fastAPI.
Browse files
app.py
CHANGED
@@ -83,8 +83,8 @@ gradio_interface = gradio.Interface(
|
|
83 |
|
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()
|
88 |
|
89 |
# if __name__ == "__main__":
|
90 |
# import uvicorn
|
|
|
83 |
|
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
|