thomascerniglia commited on
Commit
29207b9
·
1 Parent(s): 2e0e474

Fix launch config for HF Spaces compatibility

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -19,6 +19,5 @@ VSTORE = VectorStore(settings).load()
19
  demo = build_app(settings=settings, embedder=EMBEDDER, vstore=VSTORE)
20
 
21
  if __name__ == "__main__":
22
- # For Hugging Face Spaces, use default settings
23
- # For local dev, show clickable link
24
- demo.launch(share=False, server_name="127.0.0.1", server_port=7860)
 
19
  demo = build_app(settings=settings, embedder=EMBEDDER, vstore=VSTORE)
20
 
21
  if __name__ == "__main__":
22
+ # Hugging Face Spaces will automatically use correct server settings
23
+ demo.launch()