Update app.py
Browse files
app.py
CHANGED
|
@@ -7,8 +7,6 @@ os.system('pip install tensorflow')
|
|
| 7 |
|
| 8 |
import streamlit as st
|
| 9 |
from transformers import pipeline
|
| 10 |
-
|
| 11 |
-
# Use PyTorch
|
| 12 |
pipe = pipeline("sentiment-analysis", framework="pt")
|
| 13 |
text = st.text_area("Enter some text")
|
| 14 |
if text:
|
|
|
|
| 7 |
|
| 8 |
import streamlit as st
|
| 9 |
from transformers import pipeline
|
|
|
|
|
|
|
| 10 |
pipe = pipeline("sentiment-analysis", framework="pt")
|
| 11 |
text = st.text_area("Enter some text")
|
| 12 |
if text:
|