Spaces:
Runtime error
Runtime error
Commit
·
e19fc23
1
Parent(s):
48bc7cc
share?
Browse files
app.py
CHANGED
|
@@ -255,7 +255,7 @@ This demo was built with [LlamaIndex](https://docs.llamaindex.ai) and [LlamaPars
|
|
| 255 |
if __name__ == "__main__":
|
| 256 |
if os.getenv("SPACE_ID"):
|
| 257 |
# Running on HF Spaces
|
| 258 |
-
demo.launch(server_name="0.0.0.0", server_port=7860, share=
|
| 259 |
else:
|
| 260 |
# Running locally
|
| 261 |
demo.launch()
|
|
|
|
| 255 |
if __name__ == "__main__":
|
| 256 |
if os.getenv("SPACE_ID"):
|
| 257 |
# Running on HF Spaces
|
| 258 |
+
demo.launch(server_name="0.0.0.0", server_port=7860, share=True)
|
| 259 |
else:
|
| 260 |
# Running locally
|
| 261 |
demo.launch()
|