Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1196,7 +1196,7 @@ def create_gradio_interface(state=None):
|
|
| 1196 |
# In[21]:
|
| 1197 |
demo = create_gradio_interface()
|
| 1198 |
# Use Gradio's `server_app` to get an ASGI app for Blocks
|
| 1199 |
-
gradio_asgi_app = demo.launch(share=False, inbrowser=False, server_name="0.0.0.0", server_port=7860, inline=False)
|
| 1200 |
|
| 1201 |
logging.debug(f"Gradio version: {gr.__version__}")
|
| 1202 |
logging.debug(f"FastAPI version: {fastapi.__version__}")
|
|
|
|
| 1196 |
# In[21]:
|
| 1197 |
demo = create_gradio_interface()
|
| 1198 |
# Use Gradio's `server_app` to get an ASGI app for Blocks
|
| 1199 |
+
gradio_asgi_app = demo.server_app #demo.launch(share=False, inbrowser=False, server_name="0.0.0.0", server_port=7860, inline=False)
|
| 1200 |
|
| 1201 |
logging.debug(f"Gradio version: {gr.__version__}")
|
| 1202 |
logging.debug(f"FastAPI version: {fastapi.__version__}")
|