Spaces:
Running
Running
Commit
·
1c876f9
1
Parent(s):
a6d4163
Update app.py
Browse files
app.py
CHANGED
@@ -64,6 +64,8 @@ def inference_dataset(file_object, option_list):
|
|
64 |
output2 = output3 = output4 = output5 = "This option was not selected."
|
65 |
if "emotion frequencies" in option_list:
|
66 |
output2 = frequencies(preds)
|
|
|
|
|
67 |
if "emotion distribution over time" in option_list:
|
68 |
output3 = "This option was selected."
|
69 |
if "peaks" in option_list:
|
|
|
64 |
output2 = output3 = output4 = output5 = "This option was not selected."
|
65 |
if "emotion frequencies" in option_list:
|
66 |
output2 = frequencies(preds)
|
67 |
+
else:
|
68 |
+
output2 = None
|
69 |
if "emotion distribution over time" in option_list:
|
70 |
output3 = "This option was selected."
|
71 |
if "peaks" in option_list:
|