ola13 commited on
Commit
482c841
β€’
1 Parent(s): 42f1cfa

update gradio

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. 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.23.0
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": null,
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/20230404_102105_00007_t8w9z_3085d601-45f1-443a-b50d-8eb4812dd227\n",
15
  "Number of parquet files 30\n",
16
- "Reading geclm-datasets/samples/bigcode_python_code/20230404_102116_00007_ajvns_4e5b2899-8640-4a4c-b0cd-758662178176\n",
17
  "Number of parquet files 30\n",
18
- "Reading geclm-datasets/samples/bigcode_python_github_issues/20230404_102127_00022_yv77i_982f928f-1431-4ea7-986d-c5c5cb0f4a3f\n",
19
  "Number of parquet files 30\n",
20
- "Reading geclm-datasets/samples/bigcode_python_jupyter_markdowned_clean_dedup/20230404_102137_00026_vwcg7_3167c932-87a1-4fec-ad01-215831d0bf6e\n",
21
  "Number of parquet files 30\n",
22
- "Reading geclm-datasets/samples/books3/20230404_102143_00027_t4kwf_198fc997-b871-4e4a-b88e-3776f1cf92fe\n",
23
  "Number of parquet files 30\n",
24
- "Reading geclm-datasets/samples/gutenberg_raw/20230404_102215_00007_x3ntt_30873bfe-c94c-439a-96e2-71165570dc99\n",
25
  "Number of parquet files 30\n",
26
- "Reading geclm-datasets/samples/reddit_threaded/20230404_102241_00049_xj4uk_d7612f5a-5107-46e1-b710-47e7db95a7e6\n",
27
  "Number of parquet files 30\n",
28
- "Reading geclm-datasets/samples/enwiki_data/20230404_102246_00007_ye63c_57166ca6-f0d2-40ef-8ae7-ed4bc7ecd28d\n",
29
  "Number of parquet files 30\n",
30
- "Reading geclm-datasets/samples/s2orc_dedup/20230404_102252_00080_6ce5q_330e23f7-1270-4a52-b277-af823baf1de6\n",
31
  "Number of parquet files 30\n",
32
- "Reading geclm-datasets/samples/stackexchange2/20230404_102308_00031_qvnh6_cec28e17-f163-4a04-9fbe-dc617d9ea03e\n",
33
  "Number of parquet files 30\n",
34
- "Reading geclm-datasets/samples/commoncrawl/20230404_124237_00026_sin5w_c2e65b68-2449-47fa-be8b-a6e6e83611d0\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,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": {