Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
from transformers import pipeline
|
2 |
-
|
3 |
-
|
4 |
import streamlit as st
|
5 |
|
6 |
-
|
7 |
-
st.write(x, 'squared is', x * x)
|
|
|
1 |
from transformers import pipeline
|
2 |
+
import torch
|
3 |
+
import torch.nn.functional as TF
|
4 |
import streamlit as st
|
5 |
|
6 |
+
classifier = pipeline("sentiment-analysis")
|
|