Imsachinsingh00 commited on
Commit
7d08e09
·
verified ·
1 Parent(s): 5bab888

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ DataFrame:
44
  # Gradio Interface
45
  with gr.Blocks() as demo:
46
  gr.Markdown("# LLM-Powered CSV Manipulation Tool")
47
- file_input = gr.File(label="Upload CSV File", type="file")
48
  instruction_input = gr.Textbox(label="Instruction (e.g., 'Add a new column Age with value 30')")
49
  output_file = gr.File(label="Download Manipulated CSV")
50
  run_button = gr.Button("Apply Instruction")
 
44
  # Gradio Interface
45
  with gr.Blocks() as demo:
46
  gr.Markdown("# LLM-Powered CSV Manipulation Tool")
47
+ file_input = gr.File(label="Upload CSV File", type="filepath") # Changed to 'filepath'
48
  instruction_input = gr.Textbox(label="Instruction (e.g., 'Add a new column Age with value 30')")
49
  output_file = gr.File(label="Download Manipulated CSV")
50
  run_button = gr.Button("Apply Instruction")