Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from transformers import pipeline
|
| 3 |
def main():
|
| 4 |
-
sentiment_pipeline = pipeline(model=microsoft/resnet-50)
|
| 5 |
st.title("Sentiment Analysis with HuggingFace Spaces")
|
| 6 |
st.write("Enter a sentence to analyze its sentiment:")
|
| 7 |
user_input = st.text_input("")
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from transformers import pipeline
|
| 3 |
def main():
|
| 4 |
+
sentiment_pipeline = pipeline(model="microsoft/resnet-50")
|
| 5 |
st.title("Sentiment Analysis with HuggingFace Spaces")
|
| 6 |
st.write("Enter a sentence to analyze its sentiment:")
|
| 7 |
user_input = st.text_input("")
|