RuudVelo commited on
Commit
1af96b9
1 Parent(s): 5e15a3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -76,16 +76,6 @@ if st.button('Submit'):
76
  # st.write(output)
77
  #encoding = tokenizer(text, return_tensors="pt")
78
  #import numpy as np
79
- st.write("The model for this app has been trained using data from Dutch news articles published by NOS. For more information see: https://www.kaggle.com/maxscheijen/dutch-news-articles")
80
  st.write('\n')
81
  st.write('The model performance details can be found at https://huggingface.co/RuudVelo/dutch_news_classifier_bert_finetuned')
82
-
83
- #arr = np.random.normal(1, 1, size=100)
84
- #fig, ax = plt.subplots()
85
- #ax.hist(arr, bins=20)
86
-
87
- #st.pyplot(fig)
88
-
89
- # forward pass
90
- #outputs = model(**encoding)
91
- #predictions = outputs.logits.argmax(-1)
 
76
  # st.write(output)
77
  #encoding = tokenizer(text, return_tensors="pt")
78
  #import numpy as np
79
+ st.write("The model for this app has been trained using data from Dutch news articles published by NOS. For more information regarding the dataset can be found at https://www.kaggle.com/maxscheijen/dutch-news-articles")
80
  st.write('\n')
81
  st.write('The model performance details can be found at https://huggingface.co/RuudVelo/dutch_news_classifier_bert_finetuned')