Spaces:
Sleeping
Sleeping
Commit ·
29207b9
1
Parent(s): 2e0e474
Fix launch config for HF Spaces compatibility
Browse files
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 |
-
#
|
| 23 |
-
|
| 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()
|
|
|