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 |
|
| 4 |
-
pipe = pipeline("text-classification", model="
|
| 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)')
|