Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import os
|
| 2 |
import streamlit as st
|
| 3 |
|
| 4 |
-
from
|
| 5 |
inp=st.text_input("Enter the text")
|
| 6 |
btn=st.button("Submit")
|
| 7 |
pipe=pipeline(task='text_classification',model='cardiffnlp/twitter-roberta-base-sentiment-latest')
|
|
|
|
| 1 |
import os
|
| 2 |
import streamlit as st
|
| 3 |
|
| 4 |
+
from transformers import pipeline
|
| 5 |
inp=st.text_input("Enter the text")
|
| 6 |
btn=st.button("Submit")
|
| 7 |
pipe=pipeline(task='text_classification',model='cardiffnlp/twitter-roberta-base-sentiment-latest')
|