Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,11 +31,7 @@ def process_inputs(message: str):
|
|
31 |
|
32 |
# Display results
|
33 |
yield "##### π Emotion Classification Results:"
|
34 |
-
|
35 |
-
yield f"Error: {results['error']}"
|
36 |
-
else:
|
37 |
-
for emotion, score in results.items():
|
38 |
-
yield f"{emotion}: {score:.2f}"
|
39 |
|
40 |
finally:
|
41 |
main.disabled = False
|
|
|
31 |
|
32 |
# Display results
|
33 |
yield "##### π Emotion Classification Results:"
|
34 |
+
yeild results
|
|
|
|
|
|
|
|
|
35 |
|
36 |
finally:
|
37 |
main.disabled = False
|