Spaces:
Sleeping
Sleeping
Update gradio_app.py
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
|
@@ -71,7 +71,7 @@ with gr.Blocks(title="Căutare documente") as ui:
|
|
| 71 |
gr.Button("Caută", variant="primary").click(try_search, inputs=[query, secret], outputs=output)
|
| 72 |
ui.load(status, outputs=state) # current state on every page load, not the one at start-up
|
| 73 |
|
| 74 |
-
app = gr.mount_gradio_app(api, ui, path="/ui")
|
| 75 |
|
| 76 |
|
| 77 |
@api.get("/", include_in_schema=False)
|
|
|
|
| 71 |
gr.Button("Caută", variant="primary").click(try_search, inputs=[query, secret], outputs=output)
|
| 72 |
ui.load(status, outputs=state) # current state on every page load, not the one at start-up
|
| 73 |
|
| 74 |
+
app = gr.mount_gradio_app(api, ui, path="/ui", ssr_mode=False)
|
| 75 |
|
| 76 |
|
| 77 |
@api.get("/", include_in_schema=False)
|