cheesyFishes commited on
Commit
aedc188
·
1 Parent(s): e19fc23

back to original

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -253,9 +253,5 @@ This demo was built with [LlamaIndex](https://docs.llamaindex.ai) and [LlamaPars
253
  )
254
 
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()
 
253
  )
254
 
255
  if __name__ == "__main__":
256
+ # Running locally
257
+ demo.launch()