Spaces:
Runtime error
Runtime error
Commit
·
5409c41
1
Parent(s):
404eb3d
Update app.py
Browse files
app.py
CHANGED
@@ -72,6 +72,6 @@ def bulk_function(filename):
|
|
72 |
# return dataframe for space output
|
73 |
return YOUR_FILENAME
|
74 |
|
75 |
-
gr.Interface(bulk_function, [gr.inputs.File(file_count="single", type="file", label="
|
76 |
-
examples=[['emotion_examples.csv'],
|
77 |
).launch(debug=True)
|
|
|
72 |
# return dataframe for space output
|
73 |
return YOUR_FILENAME
|
74 |
|
75 |
+
gr.Interface(bulk_function, [gr.inputs.File(file_count="single", type="file", label="csv", optional=False),],["file"],
|
76 |
+
examples=[['emotion_examples.csv'],],
|
77 |
).launch(debug=True)
|