Jayabaskar commited on
Commit
166cb04
·
verified ·
1 Parent(s): b18471a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,10 +2,10 @@ import streamlit as st
2
  from transformers import pipeline
3
 
4
  # Load model from Hugging Face
5
- def load_model():
6
- return pipeline("text-classification", model="Jayabaskar/Fintuned") # Use your uploaded model
7
 
8
- model = load_model()
9
 
10
  st.title("Twitter Sentiment Analysis")
11
  text = st.text_area("Enter a tweet:")
 
2
  from transformers import pipeline
3
 
4
  # Load model from Hugging Face
5
+ # def load_model():
6
+ # return pipeline("text-classification", model="Jayabaskar/Fintuned") # Use your uploaded model
7
 
8
+ # model = load_model()
9
 
10
  st.title("Twitter Sentiment Analysis")
11
  text = st.text_area("Enter a tweet:")