yanivbl commited on
Commit
9ffbdef
·
1 Parent(s): a079349

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="csv", label="Upload CSV File"),
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."