Spaces:
Runtime error
Runtime error
Ariel Hsieh
commited on
Commit
•
6716393
1
Parent(s):
4b8f05e
update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ model = st.selectbox("Which pretrained model would you like to use?",("roberta-l
|
|
10 |
data = []
|
11 |
text = st.text_input("Enter text here:","Artificial Intelligence is useful")
|
12 |
data.append(text)
|
13 |
-
if model == "
|
14 |
#1
|
15 |
if st.button("Run Sentiment Analysis of Text"):
|
16 |
model_path = "roberta-large-mnli"
|
|
|
10 |
data = []
|
11 |
text = st.text_input("Enter text here:","Artificial Intelligence is useful")
|
12 |
data.append(text)
|
13 |
+
if model == "roberta-large-mnli":
|
14 |
#1
|
15 |
if st.button("Run Sentiment Analysis of Text"):
|
16 |
model_path = "roberta-large-mnli"
|