Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
text = st.text_input('Your news is: ', max_chars=
|
4 |
|
5 |
# Load model directly
|
6 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
text = st.text_input('Your news is: ', max_chars=400, help='maximum 200 words')
|
4 |
|
5 |
# Load model directly
|
6 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|