Spaces:
Running
Running
Shiyu Zhao
commited on
Commit
·
fe811f7
1
Parent(s):
3504b67
Update space
Browse files
app.py
CHANGED
@@ -773,7 +773,8 @@ with gr.Blocks(css=css) as demo:
|
|
773 |
)
|
774 |
csv_file = gr.File(
|
775 |
label="Prediction CSV*",
|
776 |
-
file_types=[".csv"]
|
|
|
777 |
)
|
778 |
model_description = gr.Textbox(
|
779 |
label="Model Description*",
|
|
|
773 |
)
|
774 |
csv_file = gr.File(
|
775 |
label="Prediction CSV*",
|
776 |
+
file_types=[".csv"],
|
777 |
+
type="filepath" # Important: specify type as filepath
|
778 |
)
|
779 |
model_description = gr.Textbox(
|
780 |
label="Model Description*",
|