Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
| 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")
|