Spaces:
Runtime error
Runtime error
update gradio
Browse files- README.md +1 -1
- test.ipynb +41 -13
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: π
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: openrail
|
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.24.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: openrail
|
test.ipynb
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
-
"execution_count":
|
6 |
"id": "585da432",
|
7 |
"metadata": {},
|
8 |
"outputs": [
|
@@ -11,27 +11,27 @@
|
|
11 |
"output_type": "stream",
|
12 |
"text": [
|
13 |
"Number of parquet files 30\n",
|
14 |
-
"Reading geclm-datasets/samples/c4/
|
15 |
"Number of parquet files 30\n",
|
16 |
-
"Reading geclm-datasets/samples/bigcode_python_code/
|
17 |
"Number of parquet files 30\n",
|
18 |
-
"Reading geclm-datasets/samples/bigcode_python_github_issues/
|
19 |
"Number of parquet files 30\n",
|
20 |
-
"Reading geclm-datasets/samples/bigcode_python_jupyter_markdowned_clean_dedup/
|
21 |
"Number of parquet files 30\n",
|
22 |
-
"Reading geclm-datasets/samples/books3/
|
23 |
"Number of parquet files 30\n",
|
24 |
-
"Reading geclm-datasets/samples/gutenberg_raw/
|
25 |
"Number of parquet files 30\n",
|
26 |
-
"Reading geclm-datasets/samples/reddit_threaded/
|
27 |
"Number of parquet files 30\n",
|
28 |
-
"Reading geclm-datasets/samples/enwiki_data/
|
29 |
"Number of parquet files 30\n",
|
30 |
-
"Reading geclm-datasets/samples/s2orc_dedup/
|
31 |
"Number of parquet files 30\n",
|
32 |
-
"Reading geclm-datasets/samples/stackexchange2/
|
33 |
"Number of parquet files 30\n",
|
34 |
-
"Reading geclm-datasets/samples/commoncrawl/
|
35 |
"Running on local URL: http://127.0.0.1:7860\n",
|
36 |
"\n",
|
37 |
"To create a public link, set `share=True` in `launch()`.\n"
|
@@ -48,6 +48,13 @@
|
|
48 |
},
|
49 |
"metadata": {},
|
50 |
"output_type": "display_data"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
}
|
52 |
],
|
53 |
"source": [
|
@@ -204,7 +211,7 @@
|
|
204 |
" bad_btn = gr.Button(\"Bad β\", visible=False)\n",
|
205 |
" good_btn = gr.Button(\"Next β
\", visible=False)\n",
|
206 |
" with gr.Row():\n",
|
207 |
-
" text = gr.Textbox(visible=False, label=\"Datapoint\", lines=500)\n",
|
208 |
"\n",
|
209 |
" def next_line(dataset):\n",
|
210 |
" next_line = next(line_generators_s3[dataset])\n",
|
@@ -253,6 +260,27 @@
|
|
253 |
"\n",
|
254 |
" demo.launch(enable_queue=False, debug=True)"
|
255 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
}
|
257 |
],
|
258 |
"metadata": {
|
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
+
"execution_count": 4,
|
6 |
"id": "585da432",
|
7 |
"metadata": {},
|
8 |
"outputs": [
|
|
|
11 |
"output_type": "stream",
|
12 |
"text": [
|
13 |
"Number of parquet files 30\n",
|
14 |
+
"Reading geclm-datasets/samples/c4/20230404_102105_00007_t8w9z_9148d7f2-97ef-4b7b-a8f0-c8c7d56cc97e\n",
|
15 |
"Number of parquet files 30\n",
|
16 |
+
"Reading geclm-datasets/samples/bigcode_python_code/20230404_102116_00007_ajvns_c18d8279-f2a7-4d9d-a6a6-eec56dd0c918\n",
|
17 |
"Number of parquet files 30\n",
|
18 |
+
"Reading geclm-datasets/samples/bigcode_python_github_issues/20230404_102127_00022_yv77i_752e8e9c-ea57-4501-91cd-02f4c8db1559\n",
|
19 |
"Number of parquet files 30\n",
|
20 |
+
"Reading geclm-datasets/samples/bigcode_python_jupyter_markdowned_clean_dedup/20230404_102137_00026_vwcg7_b323a23a-46a8-4b3c-9701-ca80f49eeb51\n",
|
21 |
"Number of parquet files 30\n",
|
22 |
+
"Reading geclm-datasets/samples/books3/20230404_102143_00027_t4kwf_1634fcdc-0f5d-456c-b1dd-4cf8dbe58f9f\n",
|
23 |
"Number of parquet files 30\n",
|
24 |
+
"Reading geclm-datasets/samples/gutenberg_raw/20230404_102215_00007_x3ntt_08915412-5ff6-43e8-b639-d7a1fffbc2bf\n",
|
25 |
"Number of parquet files 30\n",
|
26 |
+
"Reading geclm-datasets/samples/reddit_threaded/20230404_102241_00049_xj4uk_3c4761ee-2dbb-493b-ba2f-35a1da79cd45\n",
|
27 |
"Number of parquet files 30\n",
|
28 |
+
"Reading geclm-datasets/samples/enwiki_data/20230404_102246_00007_ye63c_937aaf89-540f-4957-893b-8b8def6f0c54\n",
|
29 |
"Number of parquet files 30\n",
|
30 |
+
"Reading geclm-datasets/samples/s2orc_dedup/20230404_102252_00080_6ce5q_5b5cc649-99f2-4a73-bd99-bc344ec2f3e4\n",
|
31 |
"Number of parquet files 30\n",
|
32 |
+
"Reading geclm-datasets/samples/stackexchange2/20230404_102308_00031_qvnh6_b4d3b907-0fbb-4c24-92a7-3570be065ca2\n",
|
33 |
"Number of parquet files 30\n",
|
34 |
+
"Reading geclm-datasets/samples/commoncrawl/20230404_124237_00026_sin5w_22b6f328-0e4a-4094-bd6a-399ded4036ac\n",
|
35 |
"Running on local URL: http://127.0.0.1:7860\n",
|
36 |
"\n",
|
37 |
"To create a public link, set `share=True` in `launch()`.\n"
|
|
|
48 |
},
|
49 |
"metadata": {},
|
50 |
"output_type": "display_data"
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"name": "stdout",
|
54 |
+
"output_type": "stream",
|
55 |
+
"text": [
|
56 |
+
"Keyboard interruption in main thread... closing server.\n"
|
57 |
+
]
|
58 |
}
|
59 |
],
|
60 |
"source": [
|
|
|
211 |
" bad_btn = gr.Button(\"Bad β\", visible=False)\n",
|
212 |
" good_btn = gr.Button(\"Next β
\", visible=False)\n",
|
213 |
" with gr.Row():\n",
|
214 |
+
" text = gr.Textbox(visible=False, label=\"Datapoint\", lines=500, max_lines=500)\n",
|
215 |
"\n",
|
216 |
" def next_line(dataset):\n",
|
217 |
" next_line = next(line_generators_s3[dataset])\n",
|
|
|
260 |
"\n",
|
261 |
" demo.launch(enable_queue=False, debug=True)"
|
262 |
]
|
263 |
+
},
|
264 |
+
{
|
265 |
+
"cell_type": "code",
|
266 |
+
"execution_count": 5,
|
267 |
+
"id": "4e6b194c",
|
268 |
+
"metadata": {},
|
269 |
+
"outputs": [
|
270 |
+
{
|
271 |
+
"data": {
|
272 |
+
"text/plain": [
|
273 |
+
"'3.23.0'"
|
274 |
+
]
|
275 |
+
},
|
276 |
+
"execution_count": 5,
|
277 |
+
"metadata": {},
|
278 |
+
"output_type": "execute_result"
|
279 |
+
}
|
280 |
+
],
|
281 |
+
"source": [
|
282 |
+
"gr.__version__"
|
283 |
+
]
|
284 |
}
|
285 |
],
|
286 |
"metadata": {
|