Spaces:
Runtime error
Runtime error
EnzoBustos
commited on
Commit
•
9e6d4d0
1
Parent(s):
323db28
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from textblob import TextBlob
|
2 |
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
|
3 |
-
from transformers import pipeline
|
4 |
import pandas as pd
|
5 |
import re
|
6 |
import streamlit as st
|
@@ -142,10 +142,9 @@ with model:
|
|
142 |
|
143 |
theme = theme_classification(text_en, classifier)
|
144 |
|
145 |
-
st.
|
146 |
-
st.
|
147 |
-
st.
|
148 |
-
st.write("\n")
|
149 |
|
150 |
'''
|
151 |
with model:
|
|
|
1 |
from textblob import TextBlob
|
2 |
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
|
3 |
+
from transformers import pipeline
|
4 |
import pandas as pd
|
5 |
import re
|
6 |
import streamlit as st
|
|
|
142 |
|
143 |
theme = theme_classification(text_en, classifier)
|
144 |
|
145 |
+
st.text_area(label="Translation:", value=text_en, height=150)
|
146 |
+
st.text_area(label="Sentiment:", value=sentiment, height=150)
|
147 |
+
st.text_area(label="Theme:", value=theme, height=150)
|
|
|
148 |
|
149 |
'''
|
150 |
with model:
|