NaderAfshar commited on
Commit
2f9815a
·
1 Parent(s): 83b4de7

Added packages.txt to fix a huggin face build error related to libgl1-mesa-glx missing

Browse files
.idea/csv-agent.iml CHANGED
@@ -1,7 +1,9 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <module type="PYTHON_MODULE" version="4">
3
  <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
 
 
5
  <orderEntry type="inheritedJdk" />
6
  <orderEntry type="sourceFolder" forTests="false" />
7
  </component>
 
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <module type="PYTHON_MODULE" version="4">
3
  <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <excludeFolder url="file://$MODULE_DIR$/.venv" />
6
+ </content>
7
  <orderEntry type="inheritedJdk" />
8
  <orderEntry type="sourceFolder" forTests="false" />
9
  </component>
csv_agent_with_chart.py CHANGED
@@ -110,4 +110,4 @@ with gr.Blocks(css="""
110
  reset_button.click(reset_agent, outputs=[upload_status, df_head_output, image_output, file_input, upload_button])
111
 
112
  # Launch the Gradio App
113
- demo.launch()
 
110
  reset_button.click(reset_agent, outputs=[upload_status, df_head_output, image_output, file_input, upload_button])
111
 
112
  # Launch the Gradio App
113
+ demo.launch(share=True)
packages.txt ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ git
2
+ git-lfs
3
+ ffmpeg
4
+ libsm6
5
+ libxext6
6
+ cmake
7
+ rsync
8
+ libgl1
requirements.txt CHANGED
@@ -7,3 +7,4 @@ langchain-experimental==0.3.3 # For experimental LangChain features
7
  cohere==5.13.3 # Cohere LLM
8
  langchain-cohere==0.3.3 # Cohere extensions for langchain
9
  python-multipart==0.0.6 # For file upload handling in FastAPI
 
 
7
  cohere==5.13.3 # Cohere LLM
8
  langchain-cohere==0.3.3 # Cohere extensions for langchain
9
  python-multipart==0.0.6 # For file upload handling in FastAPI
10
+ gradio==3.13.0