Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,9 +6,7 @@ classifier = pipeline(task="text-classification", model="SamLowe/roberta-base-go
|
|
| 6 |
|
| 7 |
sentences = st.text_input('Enter Your Sentences')
|
| 8 |
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
if button :
|
| 12 |
model_outputs = classifier(sentences)
|
| 13 |
st.write(model_outputs[0])
|
| 14 |
# produces a list of dicts for each of the labels
|
|
|
|
| 6 |
|
| 7 |
sentences = st.text_input('Enter Your Sentences')
|
| 8 |
|
| 9 |
+
if st.button('Submit'):
|
|
|
|
|
|
|
| 10 |
model_outputs = classifier(sentences)
|
| 11 |
st.write(model_outputs[0])
|
| 12 |
# produces a list of dicts for each of the labels
|