Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,7 @@ tokenizer = BertTokenizer.from_pretrained("RuudVelo/dutch_news_clf_bert_finetune
|
|
33 |
# Title
|
34 |
st.title("Dutch news article classification")
|
35 |
|
36 |
-
|
37 |
-
text = st.text_area('Please type/copy/paste the Dutch article')
|
38 |
|
39 |
if text:
|
40 |
encoding = tokenizer(text, return_tensors="pt")
|
|
|
33 |
# Title
|
34 |
st.title("Dutch news article classification")
|
35 |
|
36 |
+
text = st.text_area('Please type/copy/paste text of the Dutch article')
|
|
|
37 |
|
38 |
if text:
|
39 |
encoding = tokenizer(text, return_tensors="pt")
|