Spaces:
Runtime error
Runtime error
Modify App
Browse files
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("
|
37 |
-
|
38 |
-
|
39 |
-
)
|
40 |
-
|
41 |
-
|
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]))
|
|
|
|
|
|
|
|
|
|
|
|
|
|