Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -164,8 +164,8 @@ def launch_gradio():
|
|
| 164 |
nlp_button = gr.Button("Ask")
|
| 165 |
nlp_button.click(process_nlp_query, inputs=query_input, outputs=response_output)
|
| 166 |
|
| 167 |
-
#
|
| 168 |
-
demo.launch(server_port=7861)
|
| 169 |
|
| 170 |
# ---------- Start Flask and Gradio ----------
|
| 171 |
if __name__ == "__main__":
|
|
|
|
| 164 |
nlp_button = gr.Button("Ask")
|
| 165 |
nlp_button.click(process_nlp_query, inputs=query_input, outputs=response_output)
|
| 166 |
|
| 167 |
+
# 🚫 Disable SSR mode to avoid Node.js dependency
|
| 168 |
+
demo.launch(server_port=7861, ssr_mode=False)
|
| 169 |
|
| 170 |
# ---------- Start Flask and Gradio ----------
|
| 171 |
if __name__ == "__main__":
|