Spaces:
Sleeping
Sleeping
wissemkarous
commited on
Commit
•
59d907e
1
Parent(s):
8877f9e
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def interface_func(file_info):
|
|
38 |
return prediction
|
39 |
|
40 |
iface = gr.Interface(fn=interface_func,
|
41 |
-
inputs=gr.
|
42 |
outputs="text",
|
43 |
description="Upload a CSV file with the specified columns to predict.")
|
44 |
|
|
|
38 |
return prediction
|
39 |
|
40 |
iface = gr.Interface(fn=interface_func,
|
41 |
+
inputs=gr.File(label="Upload CSV"),
|
42 |
outputs="text",
|
43 |
description="Upload a CSV file with the specified columns to predict.")
|
44 |
|