dolphinium commited on
Commit
4ee8b9e
·
1 Parent(s): 15039e8

fix plot path problem

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def main():
28
  # Create and launch the Gradio UI
29
  demo = create_ui(llm_model, solr_client)
30
  try:
31
- demo.queue().launch(debug=True, share=True)
32
  except Exception as e:
33
  print(f"An error occurred while launching the Gradio app: {e}")
34
  finally:
 
28
  # Create and launch the Gradio UI
29
  demo = create_ui(llm_model, solr_client)
30
  try:
31
+ demo.queue().launch(debug=True, share=True, allowed_paths=['/tmp/plots'])
32
  except Exception as e:
33
  print(f"An error occurred while launching the Gradio app: {e}")
34
  finally: