Spaces:
Running
Running
kovacsvi
commited on
Commit
·
ba0fb9c
1
Parent(s):
226b684
oops
Browse files
app.py
CHANGED
@@ -230,7 +230,7 @@ def predict_wrapper(text, language):
|
|
230 |
print(results)
|
231 |
print(results_heatmap)
|
232 |
|
233 |
-
figure = plot_average_emotion_barplot(
|
234 |
heatmap = plot_emotion_heatmap(prepare_heatmap_data(results_heatmap))
|
235 |
output_info = f'Prediction was made using the <a href="https://huggingface.co/{model_id}">{model_id}</a> model. '
|
236 |
funding_info = "The research was funded by European Union’s Horizon 2020 research and innovation program, “MORES” project (Grant No.: 101132601)"
|
|
|
230 |
print(results)
|
231 |
print(results_heatmap)
|
232 |
|
233 |
+
figure = plot_average_emotion_barplot(results_heatmap)
|
234 |
heatmap = plot_emotion_heatmap(prepare_heatmap_data(results_heatmap))
|
235 |
output_info = f'Prediction was made using the <a href="https://huggingface.co/{model_id}">{model_id}</a> model. '
|
236 |
funding_info = "The research was funded by European Union’s Horizon 2020 research and innovation program, “MORES” project (Grant No.: 101132601)"
|