abxhr commited on
Commit
c4fc0ca
1 Parent(s): 890d178

Modify App

Browse files
Files changed (1) hide show
  1. app.py +6 -16
app.py CHANGED
@@ -17,10 +17,7 @@ ga(st.__file__)
17
 
18
  PAGES = {
19
  "Home": backend.home,
20
- "Arabic Text Preprocessor": backend.processor,
21
- "Arabic Language Generation": backend.aragpt,
22
  "Arabic Sentiment Analysis": backend.sa,
23
- # "Arabic Sarcasm Detection": backend.sarcasm,
24
  "Arabic Question Answering": backend.qa,
25
  }
26
 
@@ -33,16 +30,9 @@ page = PAGES[selection]
33
  ast.shared.components.write_page(page)
34
 
35
  st.sidebar.header("Info")
36
- st.sidebar.write("Made by [Wissam Antoun](https://twitter.com/wissam_antoun)")
37
- st.sidebar.write(
38
- "Pre-trained models are available on [HF Hub](https://huggingface.co/aubmindlab)"
39
- )
40
- st.sidebar.write(
41
- "Models source code available on [GitHub](https://github.com/aub-mind/arabert)"
42
- )
43
- st.sidebar.write(
44
- "App source code available on [GitHub](https://github.com/WissamAntoun/Arabic-NLP-app)"
45
- )
46
- if st.sidebar.checkbox("Show RAM usage"):
47
- ram = get_current_ram_usage()
48
- st.sidebar.write("Ram usage: {:.2f}/{:.2f} GB".format(ram[0], ram[1]))
 
17
 
18
  PAGES = {
19
  "Home": backend.home,
 
 
20
  "Arabic Sentiment Analysis": backend.sa,
 
21
  "Arabic Question Answering": backend.qa,
22
  }
23
 
 
30
  ast.shared.components.write_page(page)
31
 
32
  st.sidebar.header("Info")
33
+ st.sidebar.write("Arabic NLP by [**Abshar Mohammed Aslam** (*2019A7PS0233U*)](https://github.com/abxhr)")
34
+
35
+ st.sidebar.write("Submitted to *Dr. Sujala D. Shetty*")
36
+ # if st.sidebar.checkbox("Show RAM usage"):
37
+ # ram = get_current_ram_usage()
38
+ # st.sidebar.write("Ram usage: {:.2f}/{:.2f} GB".format(ram[0], ram[1]))