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