Update app.py
Browse files
app.py
CHANGED
|
@@ -317,4 +317,5 @@ with gr.Blocks(title="Indian Stock Analyzer") as demo:
|
|
| 317 |
|
| 318 |
# Launch the app (HuggingFace will run this automatically)
|
| 319 |
if __name__ == "__main__":
|
| 320 |
-
|
|
|
|
|
|
| 317 |
|
| 318 |
# Launch the app (HuggingFace will run this automatically)
|
| 319 |
if __name__ == "__main__":
|
| 320 |
+
# Use ssr_mode=False and a common port to avoid long SSR startup on Spaces
|
| 321 |
+
demo.launch(server_name="0.0.0.0", server_port=7860, ssr_mode=False)
|