hassiahk commited on
Commit
c5e1c4a
1 Parent(s): 97275be

Added necessary links for demo

Browse files
Files changed (1) hide show
  1. apps/classifier.py +14 -3
apps/classifier.py CHANGED
@@ -26,13 +26,24 @@ def app():
26
  )
27
 
28
  st.markdown(
29
- "Can't figure out where to get a sample text? Visit this "
30
- "[link](https://maharashtratimes.com/entertainment/articlelist/19359255.cms), copy any headline and see if "
31
- "the model is predicting it as `entertainment` or not."
 
 
 
32
  )
33
 
34
  classifier = st.sidebar.selectbox("Select a Model", index=0, options=["Indic NLP", "iNLTK"])
35
 
 
 
 
 
 
 
 
 
36
  sample_texts = [
37
  "अध्यक्ष शरद पवार आणि उपमुख्यमंत्री अजित पवार यांची भेट घेतली.",
38
  "मोठी बातमी! उद्या दुपारी १ वाजता जाहीर होणार दहावीचा निकाल",
 
26
  )
27
 
28
  st.markdown(
29
+ "Can't figure out where to get a sample text? Visit any of the following links, copy any headline and see if "
30
+ "the model is predicting the respective class or not.\n"
31
+ "- [entertainment](https://maharashtratimes.com/entertainment/articlelist/19359255.cms)\n"
32
+ "- [sports](https://maharashtratimes.com/sports/articlelist/2429056.cms)\n"
33
+ "- [lifestyle](https://maharashtratimes.com/lifestyle-news/articlelist/2429025.cms)"
34
+
35
  )
36
 
37
  classifier = st.sidebar.selectbox("Select a Model", index=0, options=["Indic NLP", "iNLTK"])
38
 
39
+ st.sidebar.markdown(
40
+ "- [Indic NLP](https://huggingface.co/flax-community/mr-indicnlp-classifier) fine-tuned on "
41
+ "[Indic NLP Corpus for Marathi](https://github.com/ai4bharat/indicnlp_corpus#indicnlp-news-article-classification-dataset)"
42
+ "\n"
43
+ "- [iNLTK](https://huggingface.co/flax-community/mr-inltk-classifier) fine-tuned on "
44
+ "[Marathi News Dataset](https://www.kaggle.com/disisbig/marathi-news-dataset)"
45
+ )
46
+
47
  sample_texts = [
48
  "अध्यक्ष शरद पवार आणि उपमुख्यमंत्री अजित पवार यांची भेट घेतली.",
49
  "मोठी बातमी! उद्या दुपारी १ वाजता जाहीर होणार दहावीचा निकाल",