Spaces:
Running
Running
Commit
·
00be2d8
1
Parent(s):
53a1f9f
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def what_happened1(text):
|
|
25 |
|
26 |
def what_happened2(file_object, option_list):
|
27 |
if file_object:
|
28 |
-
output1 =
|
29 |
if len(option_list) > 0:
|
30 |
output1 = output1 + "\nYou selected these options:\n- " + "\n- ".join(option_list)
|
31 |
else:
|
@@ -87,7 +87,7 @@ iface2 = gr.Interface(
|
|
87 |
],
|
88 |
#outputs=["text", "text", "text", "text", "text"])
|
89 |
outputs = [
|
90 |
-
gr.
|
91 |
gr.Textbox(label="Emotion frequencies"),
|
92 |
gr.Textbox(label="Emotion distribution over time"),
|
93 |
gr.Textbox(label="Peaks"),
|
|
|
25 |
|
26 |
def what_happened2(file_object, option_list):
|
27 |
if file_object:
|
28 |
+
output1 = "You uploaded a file."
|
29 |
if len(option_list) > 0:
|
30 |
output1 = output1 + "\nYou selected these options:\n- " + "\n- ".join(option_list)
|
31 |
else:
|
|
|
87 |
],
|
88 |
#outputs=["text", "text", "text", "text", "text"])
|
89 |
outputs = [
|
90 |
+
gr.Textbox(label="Output file"),
|
91 |
gr.Textbox(label="Emotion frequencies"),
|
92 |
gr.Textbox(label="Emotion distribution over time"),
|
93 |
gr.Textbox(label="Peaks"),
|