yosuke-i commited on
Commit
42662fb
1 Parent(s): 377b6ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ def process_csv(file_obj):
20
  # Gradioインターフェースの定義
21
  iface = gr.Interface(fn=process_csv,
22
  inputs=gr.File(label="Upload CSV"),
23
- outputs=gr.File(label="Download Processed CSV", type="file"),
24
- description="Upload a CSV with 'name' and 'age' columns. This app will double the 'age' and return the processed CSV.")
25
 
26
  # アプリの起動
27
  iface.launch()
 
20
  # Gradioインターフェースの定義
21
  iface = gr.Interface(fn=process_csv,
22
  inputs=gr.File(label="Upload CSV"),
23
+ outputs=gr.File(label="Download Processed CSV", type="binary"),
24
+ description="Upload a CSV with 'name' and 'age' columns. This app will double the 'age' and return the processed CSV in binary format.")
25
 
26
  # アプリの起動
27
  iface.launch()