Spaces:
Running
Running
gradio==5.0.0b10
Browse files- README.md +1 -1
- app.py +2 -2
- pyproject.toml +1 -1
- requirements.txt +5 -28
- uv.lock +0 -0
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: ⚡
|
|
4 |
colorFrom: red
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
license: mit
|
10 |
---
|
|
|
4 |
colorFrom: red
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.0.0b10
|
8 |
app_file: app.py
|
9 |
license: mit
|
10 |
---
|
app.py
CHANGED
@@ -110,10 +110,10 @@ def update_question(subject: str, question_index: int) -> tuple[
|
|
110 |
)
|
111 |
|
112 |
|
113 |
-
with gr.Blocks(
|
114 |
gr.Markdown(DESCRIPTION)
|
115 |
with gr.Row():
|
116 |
-
subject = gr.Dropdown(label="Subject", choices=SUBJECTS)
|
117 |
question_count = gr.Textbox(label="Number of Questions")
|
118 |
|
119 |
with gr.Group():
|
|
|
110 |
)
|
111 |
|
112 |
|
113 |
+
with gr.Blocks(css_paths="style.css") as demo:
|
114 |
gr.Markdown(DESCRIPTION)
|
115 |
with gr.Row():
|
116 |
+
subject = gr.Dropdown(label="Subject", choices=SUBJECTS, value=SUBJECTS[-1])
|
117 |
question_count = gr.Textbox(label="Number of Questions")
|
118 |
|
119 |
with gr.Group():
|
pyproject.toml
CHANGED
@@ -6,6 +6,6 @@ readme = "README.md"
|
|
6 |
requires-python = ">=3.10"
|
7 |
dependencies = [
|
8 |
"datasets>=3.0.1",
|
9 |
-
"gradio
|
10 |
"hf-transfer>=0.1.8",
|
11 |
]
|
|
|
6 |
requires-python = ">=3.10"
|
7 |
dependencies = [
|
8 |
"datasets>=3.0.1",
|
9 |
+
"gradio==5.0.0b10",
|
10 |
"hf-transfer>=0.1.8",
|
11 |
]
|
requirements.txt
CHANGED
@@ -32,10 +32,6 @@ click==8.1.7
|
|
32 |
# via
|
33 |
# typer
|
34 |
# uvicorn
|
35 |
-
contourpy==1.3.0
|
36 |
-
# via matplotlib
|
37 |
-
cycler==0.12.1
|
38 |
-
# via matplotlib
|
39 |
datasets==3.0.1
|
40 |
# via mmmu-dataset-viewer (pyproject.toml)
|
41 |
dill==0.3.8
|
@@ -52,8 +48,6 @@ filelock==3.16.1
|
|
52 |
# via
|
53 |
# datasets
|
54 |
# huggingface-hub
|
55 |
-
fonttools==4.54.1
|
56 |
-
# via matplotlib
|
57 |
frozenlist==1.4.1
|
58 |
# via
|
59 |
# aiohttp
|
@@ -63,9 +57,9 @@ fsspec==2024.6.1
|
|
63 |
# datasets
|
64 |
# gradio-client
|
65 |
# huggingface-hub
|
66 |
-
gradio==
|
67 |
# via mmmu-dataset-viewer (pyproject.toml)
|
68 |
-
gradio-client==1.
|
69 |
# via gradio
|
70 |
h11==0.14.0
|
71 |
# via
|
@@ -90,20 +84,14 @@ idna==3.10
|
|
90 |
# httpx
|
91 |
# requests
|
92 |
# yarl
|
93 |
-
importlib-resources==6.4.5
|
94 |
-
# via gradio
|
95 |
jinja2==3.1.4
|
96 |
# via gradio
|
97 |
-
kiwisolver==1.4.7
|
98 |
-
# via matplotlib
|
99 |
markdown-it-py==3.0.0
|
100 |
# via rich
|
101 |
markupsafe==2.1.5
|
102 |
# via
|
103 |
# gradio
|
104 |
# jinja2
|
105 |
-
matplotlib==3.9.2
|
106 |
-
# via gradio
|
107 |
mdurl==0.1.2
|
108 |
# via markdown-it-py
|
109 |
multidict==6.1.0
|
@@ -114,10 +102,8 @@ multiprocess==0.70.16
|
|
114 |
# via datasets
|
115 |
numpy==2.1.1
|
116 |
# via
|
117 |
-
# contourpy
|
118 |
# datasets
|
119 |
# gradio
|
120 |
-
# matplotlib
|
121 |
# pandas
|
122 |
# pyarrow
|
123 |
orjson==3.10.7
|
@@ -128,15 +114,12 @@ packaging==24.1
|
|
128 |
# gradio
|
129 |
# gradio-client
|
130 |
# huggingface-hub
|
131 |
-
# matplotlib
|
132 |
pandas==2.2.3
|
133 |
# via
|
134 |
# datasets
|
135 |
# gradio
|
136 |
pillow==10.4.0
|
137 |
-
# via
|
138 |
-
# gradio
|
139 |
-
# matplotlib
|
140 |
pyarrow==17.0.0
|
141 |
# via datasets
|
142 |
pydantic==2.9.2
|
@@ -149,12 +132,8 @@ pydub==0.25.1
|
|
149 |
# via gradio
|
150 |
pygments==2.18.0
|
151 |
# via rich
|
152 |
-
pyparsing==3.1.4
|
153 |
-
# via matplotlib
|
154 |
python-dateutil==2.9.0.post0
|
155 |
-
# via
|
156 |
-
# matplotlib
|
157 |
-
# pandas
|
158 |
python-multipart==0.0.12
|
159 |
# via gradio
|
160 |
pytz==2024.2
|
@@ -208,9 +187,7 @@ typing-extensions==4.12.2
|
|
208 |
tzdata==2024.2
|
209 |
# via pandas
|
210 |
urllib3==2.2.3
|
211 |
-
# via
|
212 |
-
# gradio
|
213 |
-
# requests
|
214 |
uvicorn==0.31.0
|
215 |
# via gradio
|
216 |
websockets==12.0
|
|
|
32 |
# via
|
33 |
# typer
|
34 |
# uvicorn
|
|
|
|
|
|
|
|
|
35 |
datasets==3.0.1
|
36 |
# via mmmu-dataset-viewer (pyproject.toml)
|
37 |
dill==0.3.8
|
|
|
48 |
# via
|
49 |
# datasets
|
50 |
# huggingface-hub
|
|
|
|
|
51 |
frozenlist==1.4.1
|
52 |
# via
|
53 |
# aiohttp
|
|
|
57 |
# datasets
|
58 |
# gradio-client
|
59 |
# huggingface-hub
|
60 |
+
gradio==5.0.0b10
|
61 |
# via mmmu-dataset-viewer (pyproject.toml)
|
62 |
+
gradio-client==1.4.0b5
|
63 |
# via gradio
|
64 |
h11==0.14.0
|
65 |
# via
|
|
|
84 |
# httpx
|
85 |
# requests
|
86 |
# yarl
|
|
|
|
|
87 |
jinja2==3.1.4
|
88 |
# via gradio
|
|
|
|
|
89 |
markdown-it-py==3.0.0
|
90 |
# via rich
|
91 |
markupsafe==2.1.5
|
92 |
# via
|
93 |
# gradio
|
94 |
# jinja2
|
|
|
|
|
95 |
mdurl==0.1.2
|
96 |
# via markdown-it-py
|
97 |
multidict==6.1.0
|
|
|
102 |
# via datasets
|
103 |
numpy==2.1.1
|
104 |
# via
|
|
|
105 |
# datasets
|
106 |
# gradio
|
|
|
107 |
# pandas
|
108 |
# pyarrow
|
109 |
orjson==3.10.7
|
|
|
114 |
# gradio
|
115 |
# gradio-client
|
116 |
# huggingface-hub
|
|
|
117 |
pandas==2.2.3
|
118 |
# via
|
119 |
# datasets
|
120 |
# gradio
|
121 |
pillow==10.4.0
|
122 |
+
# via gradio
|
|
|
|
|
123 |
pyarrow==17.0.0
|
124 |
# via datasets
|
125 |
pydantic==2.9.2
|
|
|
132 |
# via gradio
|
133 |
pygments==2.18.0
|
134 |
# via rich
|
|
|
|
|
135 |
python-dateutil==2.9.0.post0
|
136 |
+
# via pandas
|
|
|
|
|
137 |
python-multipart==0.0.12
|
138 |
# via gradio
|
139 |
pytz==2024.2
|
|
|
187 |
tzdata==2024.2
|
188 |
# via pandas
|
189 |
urllib3==2.2.3
|
190 |
+
# via requests
|
|
|
|
|
191 |
uvicorn==0.31.0
|
192 |
# via gradio
|
193 |
websockets==12.0
|
uv.lock
CHANGED
The diff for this file is too large to render.
See raw diff
|
|