Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def process_csv(file):
|
|
| 13 |
# Create the Gradio interface
|
| 14 |
iface = gr.Interface(
|
| 15 |
fn=process_csv,
|
| 16 |
-
inputs=gr.File(type="
|
| 17 |
outputs="dataframe",
|
| 18 |
title="CSV File Upload",
|
| 19 |
description="Upload a CSV file and convert it to a pandas DataFrame."
|
|
|
|
| 13 |
# Create the Gradio interface
|
| 14 |
iface = gr.Interface(
|
| 15 |
fn=process_csv,
|
| 16 |
+
inputs=gr.File(type="binary", label="Upload CSV File"), # Changed 'csv' to 'binary'
|
| 17 |
outputs="dataframe",
|
| 18 |
title="CSV File Upload",
|
| 19 |
description="Upload a CSV file and convert it to a pandas DataFrame."
|