Rounak Gupta commited on
Commit
23883a8
·
1 Parent(s): c677325

Fix Gradio schema crash and pin compatible dependencies

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -3
app.py CHANGED
@@ -82,7 +82,7 @@ with gr.Blocks(title="HighAccuracyMLPrep") as demo:
82
 
83
  with gr.Column():
84
  status_output = gr.Markdown(label="Diagnostics Report")
85
- file_output = gr.File(label="Download Cleaned CSV Matrix")
86
 
87
  submit_btn.click(
88
  fn=process_and_train,
 
82
 
83
  with gr.Column():
84
  status_output = gr.Markdown(label="Diagnostics Report")
85
+ file_output = gr.Textbox(label="Processed CSV Path", interactive=False)
86
 
87
  submit_btn.click(
88
  fn=process_and_train,
requirements.txt CHANGED
@@ -1,7 +1,5 @@
1
  gradio==4.44.1
2
- gradio_client==1.3.0
3
- pydantic>=2.0.0,<2.9.0
4
- huggingface_hub<0.25.0
5
  numpy
6
  pandas
7
  scikit-learn
 
1
  gradio==4.44.1
2
+ huggingface_hub==0.25.2
 
 
3
  numpy
4
  pandas
5
  scikit-learn