Donlapark commited on
Commit
066162b
1 Parent(s): 67aff2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import streamlit as st
2
  from transformers import pipeline
3
 
4
- classifier = pipeline("sentiment-analysis", model="distilbert-base-uncased-finetuned-sst-2-english")
5
  def main():
6
- st.title("Sentiment analysis")
7
 
8
  with st.form("text_field"):
9
  text = st.text_area('enter some text:')
 
1
  import streamlit as st
2
  from transformers import pipeline
3
 
4
+ classifier = pipeline("sentiment-analysis", model="Donlapark/finetuned_yelp")
5
  def main():
6
+ st.title("Yelp review")
7
 
8
  with st.form("text_field"):
9
  text = st.text_area('enter some text:')