saadnadimkhan111 commited on
Commit
aaa7a49
·
verified ·
1 Parent(s): cac7cbe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- demo.launch(server_name="0.0.0.0", server_port=8080)
 
 
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)