Disable SSR for submit space stability
Browse files
app.py
CHANGED
|
@@ -666,6 +666,7 @@ if __name__ == '__main__':
|
|
| 666 |
demo.launch(
|
| 667 |
theme=gr.themes.Base(),
|
| 668 |
css=CSS,
|
|
|
|
| 669 |
server_name=os.environ.get('GRADIO_SERVER_NAME', '0.0.0.0'),
|
| 670 |
server_port=int(os.environ.get('GRADIO_SERVER_PORT', os.environ.get('PORT', '7860'))),
|
| 671 |
)
|
|
|
|
| 666 |
demo.launch(
|
| 667 |
theme=gr.themes.Base(),
|
| 668 |
css=CSS,
|
| 669 |
+
ssr_mode=False,
|
| 670 |
server_name=os.environ.get('GRADIO_SERVER_NAME', '0.0.0.0'),
|
| 671 |
server_port=int(os.environ.get('GRADIO_SERVER_PORT', os.environ.get('PORT', '7860'))),
|
| 672 |
)
|