Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -132,9 +132,9 @@ def bulk_function(filename):
|
|
132 |
|
133 |
gr.Interface(bulk_function,
|
134 |
inputs=[gr.inputs.File(file_count="single", type="file", label="Upload file", optional=False),],
|
135 |
-
outputs=[
|
136 |
# examples=[["YOUR_FILENAME.csv"]], # computes, doesn't export df so far
|
137 |
-
|
138 |
theme="huggingface",
|
139 |
title="Emotion Classification from CSV",
|
140 |
description="Upload csv file with 2 columns (in order): (a) ID column, (b) text column. Model: https://huggingface.co/j-hartmann/emotion-english-distilroberta-base.",
|
|
|
132 |
|
133 |
gr.Interface(bulk_function,
|
134 |
inputs=[gr.inputs.File(file_count="single", type="file", label="Upload file", optional=False),],
|
135 |
+
outputs=[gr.outputs.File(label="Output file")],
|
136 |
# examples=[["YOUR_FILENAME.csv"]], # computes, doesn't export df so far
|
137 |
+
["highlight", "json", "html"],
|
138 |
theme="huggingface",
|
139 |
title="Emotion Classification from CSV",
|
140 |
description="Upload csv file with 2 columns (in order): (a) ID column, (b) text column. Model: https://huggingface.co/j-hartmann/emotion-english-distilroberta-base.",
|