Spaces:
Running
Running
michal
commited on
Commit
Β·
9dfc55d
1
Parent(s):
5898cca
Upload
Browse files- app.py +1 -21
- src/abouts.py +21 -0
app.py
CHANGED
@@ -102,27 +102,7 @@ with main:
|
|
102 |
|
103 |
with gr.Tab("π About"):
|
104 |
gr.Markdown(ABOUT)
|
105 |
-
gr.Markdown(
|
106 |
-
### Example LaTeX Table
|
107 |
-
$$
|
108 |
-
\\begin{array}{|c|c|c|c|}
|
109 |
-
\\hline
|
110 |
-
\\textbf{Exam} & \\textbf{Discipline} & \\textbf{Year} & \\textbf{Number of Questions} \\\\
|
111 |
-
\\hline
|
112 |
-
8th-Grade Exam & Polish Language & 15 & 101\\\\
|
113 |
-
8th-Grade Exam & Mathematics & 35 & 99\\\\
|
114 |
-
Middle School Exam & Mathematics & 110 & 304\\\\
|
115 |
-
Middle School Exam & Nature & 65 & 226\\\\
|
116 |
-
High School Exam & Biology & 21 & 169\\\\
|
117 |
-
High School Exam & Physics & 136 & 399\\\\
|
118 |
-
High School Exam & Mathematics & 220 & 492\\\\
|
119 |
-
Professional Exam & Arts & 1778 & 3480\\\\
|
120 |
-
Professional Exam & Mechanical, Mining and Metallurgical & 9097 & 30240\\\\
|
121 |
-
Professional Exam & Agriculture and Forestry & 7344 & 23200\\\\
|
122 |
-
\\hline
|
123 |
-
\\end{array}
|
124 |
-
$$
|
125 |
-
""")
|
126 |
|
127 |
with gr.Column():
|
128 |
with gr.Accordion("π Citation", open=False):
|
|
|
102 |
|
103 |
with gr.Tab("π About"):
|
104 |
gr.Markdown(ABOUT)
|
105 |
+
gr.Markdown(DATASET_TABLE)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
|
107 |
with gr.Column():
|
108 |
with gr.Accordion("π Citation", open=False):
|
src/abouts.py
CHANGED
@@ -88,3 +88,24 @@ The **Professional Exam** (*egzamin zawodowy*) is tailored for students pursuing
|
|
88 |
"""
|
89 |
|
90 |
ABOUT = "## ABOUTS"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
"""
|
89 |
|
90 |
ABOUT = "## ABOUTS"
|
91 |
+
|
92 |
+
DATASET_TABLE = """
|
93 |
+
$$
|
94 |
+
\\begin{array}{|c|c|c|c|}
|
95 |
+
\\hline
|
96 |
+
\\textbf{Exam} & \\textbf{Discipline} & \\textbf{Year} & \\textbf{Number of Questions} \\\\
|
97 |
+
\\hline
|
98 |
+
8th-Grade Exam & Polish Language & 15 & 101\\\\
|
99 |
+
8th-Grade Exam & Mathematics & 35 & 99\\\\
|
100 |
+
Middle School Exam & Mathematics & 110 & 304\\\\
|
101 |
+
Middle School Exam & Nature & 65 & 226\\\\
|
102 |
+
High School Exam & Biology & 21 & 169\\\\
|
103 |
+
High School Exam & Physics & 136 & 399\\\\
|
104 |
+
High School Exam & Mathematics & 220 & 492\\\\
|
105 |
+
Professional Exam & Arts & 1778 & 3480\\\\
|
106 |
+
Professional Exam & Mechanical, Mining and Metallurgical & 9097 & 30240\\\\
|
107 |
+
Professional Exam & Agriculture and Forestry & 7344 & 23200\\\\
|
108 |
+
\\hline
|
109 |
+
\\end{array}
|
110 |
+
$$
|
111 |
+
"""
|