Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,4 +3,8 @@ import torch
|
|
3 |
import torch.nn.functional as TF
|
4 |
import streamlit as st
|
5 |
|
6 |
-
classifier = pipeline("sentiment-analysis")
|
|
|
|
|
|
|
|
|
|
3 |
import torch.nn.functional as TF
|
4 |
import streamlit as st
|
5 |
|
6 |
+
classifier = pipeline("sentiment-analysis")
|
7 |
+
defaultTxt = "I hate you cancerous insects so much"
|
8 |
+
result = classifier(defaultTxt)
|
9 |
+
|
10 |
+
print(result)
|