lichunming commited on
Commit
e59ae47
·
verified ·
1 Parent(s): 2087d2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
  from transformers import pipeline
3
 
4
- pipe = pipeline("text-classification", model="ProsusAI/finbert")
5
 
6
  # Prompt the user to enter financial data, each line treated as a separate string
7
  text_input = st.text_area('Enter financial filing data (one entry per line)')
 
1
  import streamlit as st
2
  from transformers import pipeline
3
 
4
+ pipe = pipeline("text-classification", model="distilbert-base-uncased-finetuned-sst-2-english")
5
 
6
  # Prompt the user to enter financial data, each line treated as a separate string
7
  text_input = st.text_area('Enter financial filing data (one entry per line)')