Spaces:
Runtime error
Runtime error
EnzoBustos
commited on
Commit
•
0dd0d1d
1
Parent(s):
8840676
Update app.py
Browse files
app.py
CHANGED
@@ -59,6 +59,10 @@ if text:
|
|
59 |
sentiment = sentiment_classification(text_en)
|
60 |
theme = theme_classification(text_en)
|
61 |
|
|
|
|
|
|
|
|
|
62 |
st.json({
|
63 |
"Translation": text_en,
|
64 |
"Sentiment": sentiment,
|
|
|
59 |
sentiment = sentiment_classification(text_en)
|
60 |
theme = theme_classification(text_en)
|
61 |
|
62 |
+
st.write("Translation: {}".format(text_en))
|
63 |
+
st.write("Sentiment: {}".format(sentiment))
|
64 |
+
st.write("Theme: {}".format(theme))
|
65 |
+
|
66 |
st.json({
|
67 |
"Translation": text_en,
|
68 |
"Sentiment": sentiment,
|