hysts HF staff commited on
Commit
bf4d50c
1 Parent(s): 2c1e0f8

gradio==5.3.0

Browse files
Files changed (5) hide show
  1. README.md +1 -1
  2. app.py +1 -1
  3. pyproject.toml +1 -1
  4. requirements.txt +7 -5
  5. uv.lock +15 -13
README.md CHANGED
@@ -7,7 +7,7 @@ sdk: gradio
7
  app_file: app.py
8
  pinned: true
9
  license: apache-2.0
10
- sdk_version: 5.1.0
11
  fullWidth: true
12
  tags:
13
  - 日本語
 
7
  app_file: app.py
8
  pinned: true
9
  license: apache-2.0
10
+ sdk_version: 5.3.0
11
  fullWidth: true
12
  tags:
13
  - 日本語
app.py CHANGED
@@ -477,7 +477,7 @@ with gr.Blocks() as demo_submission:
477
  label="Model type",
478
  choices=[t.to_str(" : ") for t in ModelType if t != ModelType.Unknown],
479
  multiselect=False,
480
- value=lambda: None, # This is due to a breaking change in Gradio 5. https://github.com/gradio-app/gradio/issues/9463 . But it will be fixed in the next release. https://github.com/gradio-app/gradio/pull/9699
481
  )
482
 
483
  with gr.Column():
 
477
  label="Model type",
478
  choices=[t.to_str(" : ") for t in ModelType if t != ModelType.Unknown],
479
  multiselect=False,
480
+ value=None,
481
  )
482
 
483
  with gr.Column():
pyproject.toml CHANGED
@@ -7,7 +7,7 @@ requires-python = ">=3.10"
7
  dependencies = [
8
  "apscheduler>=3.10.4",
9
  "datasets>=3.0.1",
10
- "gradio>=5.1.0",
11
  "hf-transfer>=0.1.8",
12
  "transformers>=4.45.2",
13
  ]
 
7
  dependencies = [
8
  "apscheduler>=3.10.4",
9
  "datasets>=3.0.1",
10
+ "gradio>=5.3.0",
11
  "hf-transfer>=0.1.8",
12
  "transformers>=4.45.2",
13
  ]
requirements.txt CHANGED
@@ -42,7 +42,7 @@ dill==0.3.8
42
  # multiprocess
43
  exceptiongroup==1.2.2
44
  # via anyio
45
- fastapi==0.115.0
46
  # via gradio
47
  ffmpy==0.4.0
48
  # via gradio
@@ -60,9 +60,9 @@ fsspec==2024.6.1
60
  # datasets
61
  # gradio-client
62
  # huggingface-hub
63
- gradio==5.1.0
64
  # via open-japanese-llm-leaderboard (pyproject.toml)
65
- gradio-client==1.4.0
66
  # via gradio
67
  h11==0.14.0
68
  # via
@@ -180,8 +180,10 @@ sniffio==1.3.1
180
  # via
181
  # anyio
182
  # httpx
183
- starlette==0.38.6
184
- # via fastapi
 
 
185
  tokenizers==0.20.1
186
  # via transformers
187
  tomlkit==0.12.0
 
42
  # multiprocess
43
  exceptiongroup==1.2.2
44
  # via anyio
45
+ fastapi==0.115.2
46
  # via gradio
47
  ffmpy==0.4.0
48
  # via gradio
 
60
  # datasets
61
  # gradio-client
62
  # huggingface-hub
63
+ gradio==5.3.0
64
  # via open-japanese-llm-leaderboard (pyproject.toml)
65
+ gradio-client==1.4.2
66
  # via gradio
67
  h11==0.14.0
68
  # via
 
180
  # via
181
  # anyio
182
  # httpx
183
+ starlette==0.40.0
184
+ # via
185
+ # fastapi
186
+ # gradio
187
  tokenizers==0.20.1
188
  # via transformers
189
  tomlkit==0.12.0
uv.lock CHANGED
@@ -314,16 +314,16 @@ wheels = [
314
 
315
  [[package]]
316
  name = "fastapi"
317
- version = "0.115.0"
318
  source = { registry = "https://pypi.org/simple" }
319
  dependencies = [
320
  { name = "pydantic" },
321
  { name = "starlette" },
322
  { name = "typing-extensions" },
323
  ]
324
- sdist = { url = "https://files.pythonhosted.org/packages/7b/5e/bf0471f14bf6ebfbee8208148a3396d1a23298531a6cc10776c59f4c0f87/fastapi-0.115.0.tar.gz", hash = "sha256:f93b4ca3529a8ebc6fc3fcf710e5efa8de3df9b41570958abf1d97d843138004", size = 302295 }
325
  wheels = [
326
- { url = "https://files.pythonhosted.org/packages/06/ab/a1f7eed031aeb1c406a6e9d45ca04bff401c8a25a30dd0e4fd2caae767c3/fastapi-0.115.0-py3-none-any.whl", hash = "sha256:17ea427674467486e997206a5ab25760f6b09e069f099b96f5b55a32fb6f1631", size = 94625 },
327
  ]
328
 
329
  [[package]]
@@ -414,7 +414,7 @@ http = [
414
 
415
  [[package]]
416
  name = "gradio"
417
- version = "5.1.0"
418
  source = { registry = "https://pypi.org/simple" }
419
  dependencies = [
420
  { name = "aiofiles" },
@@ -437,20 +437,20 @@ dependencies = [
437
  { name = "pyyaml" },
438
  { name = "ruff", marker = "sys_platform != 'emscripten'" },
439
  { name = "semantic-version" },
 
440
  { name = "tomlkit" },
441
  { name = "typer", marker = "sys_platform != 'emscripten'" },
442
  { name = "typing-extensions" },
443
  { name = "urllib3", marker = "sys_platform == 'emscripten'" },
444
  { name = "uvicorn", marker = "sys_platform != 'emscripten'" },
445
  ]
446
- sdist = { url = "https://files.pythonhosted.org/packages/c4/23/ba94d84f0b15d7ec9274c6a4c67e08d7fae5167c520af8522a6d943d5821/gradio-5.1.0.tar.gz", hash = "sha256:d2153668e6de2df7a01bb33f01a074fc7716ec863c40f472d8e439439ef1e153", size = 51970957 }
447
  wheels = [
448
- { url = "https://files.pythonhosted.org/packages/bb/98/0e3887333b834e1627d3468138d3436cf1496c8ec633f4dbe48fba670a88/gradio-5.1.0-py3-none-any.whl", hash = "sha256:2a63799e0b6af105a6fb7895341b2594277d75cb83e8509a4fcdca09f2de070a", size = 42308955 },
449
  ]
450
 
451
  [[package]]
452
  name = "gradio-client"
453
- version = "1.4.0"
454
  source = { registry = "https://pypi.org/simple" }
455
  dependencies = [
456
  { name = "fsspec" },
@@ -460,9 +460,9 @@ dependencies = [
460
  { name = "typing-extensions" },
461
  { name = "websockets" },
462
  ]
463
- sdist = { url = "https://files.pythonhosted.org/packages/a0/32/6225437199f88f20a8f36ad78681d9fc5be8cdf7519cbc852782ae379edb/gradio_client-1.4.0.tar.gz", hash = "sha256:bb24af01176774122f0c35e9a18f51047a22b457e6d667ba3cd7c7dfae17cd8d", size = 317874 }
464
  wheels = [
465
- { url = "https://files.pythonhosted.org/packages/25/05/8a55d7fc95792b58aef5ac2656ee6f8307629ddca747a5bfdfd8197c7114/gradio_client-1.4.0-py3-none-any.whl", hash = "sha256:6cd0f2c7b83fbab1db904e577c19bccc518dc7a2e8ea02cf3e13f8a9510d83f7", size = 319789 },
466
  ]
467
 
468
  [[package]]
@@ -724,6 +724,8 @@ wheels = [
724
  { url = "https://files.pythonhosted.org/packages/bc/f7/7ec7fddc92e50714ea3745631f79bd9c96424cb2702632521028e57d3a36/multiprocess-0.70.16-py310-none-any.whl", hash = "sha256:c4a9944c67bd49f823687463660a2d6daae94c289adff97e0f9d696ba6371d02", size = 134824 },
725
  { url = "https://files.pythonhosted.org/packages/50/15/b56e50e8debaf439f44befec5b2af11db85f6e0f344c3113ae0be0593a91/multiprocess-0.70.16-py311-none-any.whl", hash = "sha256:af4cabb0dac72abfb1e794fa7855c325fd2b55a10a44628a3c1ad3311c04127a", size = 143519 },
726
  { url = "https://files.pythonhosted.org/packages/0a/7d/a988f258104dcd2ccf1ed40fdc97e26c4ac351eeaf81d76e266c52d84e2f/multiprocess-0.70.16-py312-none-any.whl", hash = "sha256:fc0544c531920dde3b00c29863377f87e1632601092ea2daca74e4beb40faa2e", size = 146741 },
 
 
727
  ]
728
 
729
  [[package]]
@@ -802,7 +804,7 @@ dependencies = [
802
  requires-dist = [
803
  { name = "apscheduler", specifier = ">=3.10.4" },
804
  { name = "datasets", specifier = ">=3.0.1" },
805
- { name = "gradio", specifier = ">=5.1.0" },
806
  { name = "hf-transfer", specifier = ">=0.1.8" },
807
  { name = "transformers", specifier = ">=4.45.2" },
808
  ]
@@ -1467,14 +1469,14 @@ wheels = [
1467
 
1468
  [[package]]
1469
  name = "starlette"
1470
- version = "0.38.6"
1471
  source = { registry = "https://pypi.org/simple" }
1472
  dependencies = [
1473
  { name = "anyio" },
1474
  ]
1475
- sdist = { url = "https://files.pythonhosted.org/packages/42/b4/e25c3b688ef703d85e55017c6edd0cbf38e5770ab748234363d54ff0251a/starlette-0.38.6.tar.gz", hash = "sha256:863a1588f5574e70a821dadefb41e4881ea451a47a3cd1b4df359d4ffefe5ead", size = 2569491 }
1476
  wheels = [
1477
- { url = "https://files.pythonhosted.org/packages/b7/9c/93f7bc03ff03199074e81974cc148908ead60dcf189f68ba1761a0ee35cf/starlette-0.38.6-py3-none-any.whl", hash = "sha256:4517a1409e2e73ee4951214ba012052b9e16f60e90d73cfb06192c19203bbb05", size = 71451 },
1478
  ]
1479
 
1480
  [[package]]
 
314
 
315
  [[package]]
316
  name = "fastapi"
317
+ version = "0.115.2"
318
  source = { registry = "https://pypi.org/simple" }
319
  dependencies = [
320
  { name = "pydantic" },
321
  { name = "starlette" },
322
  { name = "typing-extensions" },
323
  ]
324
+ sdist = { url = "https://files.pythonhosted.org/packages/22/fa/19e3c7c9b31ac291987c82e959f36f88840bea183fa3dc3bb654669f19c1/fastapi-0.115.2.tar.gz", hash = "sha256:3995739e0b09fa12f984bce8fa9ae197b35d433750d3d312422d846e283697ee", size = 299968 }
325
  wheels = [
326
+ { url = "https://files.pythonhosted.org/packages/c9/14/bbe7776356ef01f830f8085ca3ac2aea59c73727b6ffaa757abeb7d2900b/fastapi-0.115.2-py3-none-any.whl", hash = "sha256:61704c71286579cc5a598763905928f24ee98bfcc07aabe84cfefb98812bbc86", size = 94650 },
327
  ]
328
 
329
  [[package]]
 
414
 
415
  [[package]]
416
  name = "gradio"
417
+ version = "5.3.0"
418
  source = { registry = "https://pypi.org/simple" }
419
  dependencies = [
420
  { name = "aiofiles" },
 
437
  { name = "pyyaml" },
438
  { name = "ruff", marker = "sys_platform != 'emscripten'" },
439
  { name = "semantic-version" },
440
+ { name = "starlette", marker = "sys_platform != 'emscripten'" },
441
  { name = "tomlkit" },
442
  { name = "typer", marker = "sys_platform != 'emscripten'" },
443
  { name = "typing-extensions" },
444
  { name = "urllib3", marker = "sys_platform == 'emscripten'" },
445
  { name = "uvicorn", marker = "sys_platform != 'emscripten'" },
446
  ]
 
447
  wheels = [
448
+ { url = "https://files.pythonhosted.org/packages/11/0e/41305ac0118605b4a4122fecc1f1a405cae215958a99fa56bfef668a7a26/gradio-5.3.0-py3-none-any.whl", hash = "sha256:1613b0ab3cb0a582fe80e9d0dc7114a7045a90c494e94e34f907debb38179a33", size = 56706310 },
449
  ]
450
 
451
  [[package]]
452
  name = "gradio-client"
453
+ version = "1.4.2"
454
  source = { registry = "https://pypi.org/simple" }
455
  dependencies = [
456
  { name = "fsspec" },
 
460
  { name = "typing-extensions" },
461
  { name = "websockets" },
462
  ]
463
+ sdist = { url = "https://files.pythonhosted.org/packages/8c/32/f6ccafd2e5536fd8b4402110aeab8ee70639045b650a7389825e2861ac8a/gradio_client-1.4.2.tar.gz", hash = "sha256:07c5184ad6385f50f9e6eae3a262ad6afcf9380b6a400d070652f76e14222dbd", size = 317939 }
464
  wheels = [
465
+ { url = "https://files.pythonhosted.org/packages/e0/6f/9eb14d4e9ef366be2020063d91c4f608294969fcd7b9fcc48153c64b9776/gradio_client-1.4.2-py3-none-any.whl", hash = "sha256:76a34996b4580939a3fbd10144fde04eced586c033b6cdcb315d69b1459136d1", size = 319840 },
466
  ]
467
 
468
  [[package]]
 
724
  { url = "https://files.pythonhosted.org/packages/bc/f7/7ec7fddc92e50714ea3745631f79bd9c96424cb2702632521028e57d3a36/multiprocess-0.70.16-py310-none-any.whl", hash = "sha256:c4a9944c67bd49f823687463660a2d6daae94c289adff97e0f9d696ba6371d02", size = 134824 },
725
  { url = "https://files.pythonhosted.org/packages/50/15/b56e50e8debaf439f44befec5b2af11db85f6e0f344c3113ae0be0593a91/multiprocess-0.70.16-py311-none-any.whl", hash = "sha256:af4cabb0dac72abfb1e794fa7855c325fd2b55a10a44628a3c1ad3311c04127a", size = 143519 },
726
  { url = "https://files.pythonhosted.org/packages/0a/7d/a988f258104dcd2ccf1ed40fdc97e26c4ac351eeaf81d76e266c52d84e2f/multiprocess-0.70.16-py312-none-any.whl", hash = "sha256:fc0544c531920dde3b00c29863377f87e1632601092ea2daca74e4beb40faa2e", size = 146741 },
727
+ { url = "https://files.pythonhosted.org/packages/ea/89/38df130f2c799090c978b366cfdf5b96d08de5b29a4a293df7f7429fa50b/multiprocess-0.70.16-py38-none-any.whl", hash = "sha256:a71d82033454891091a226dfc319d0cfa8019a4e888ef9ca910372a446de4435", size = 132628 },
728
+ { url = "https://files.pythonhosted.org/packages/da/d9/f7f9379981e39b8c2511c9e0326d212accacb82f12fbfdc1aa2ce2a7b2b6/multiprocess-0.70.16-py39-none-any.whl", hash = "sha256:a0bafd3ae1b732eac64be2e72038231c1ba97724b60b09400d68f229fcc2fbf3", size = 133351 },
729
  ]
730
 
731
  [[package]]
 
804
  requires-dist = [
805
  { name = "apscheduler", specifier = ">=3.10.4" },
806
  { name = "datasets", specifier = ">=3.0.1" },
807
+ { name = "gradio", specifier = ">=5.3.0" },
808
  { name = "hf-transfer", specifier = ">=0.1.8" },
809
  { name = "transformers", specifier = ">=4.45.2" },
810
  ]
 
1469
 
1470
  [[package]]
1471
  name = "starlette"
1472
+ version = "0.40.0"
1473
  source = { registry = "https://pypi.org/simple" }
1474
  dependencies = [
1475
  { name = "anyio" },
1476
  ]
1477
+ sdist = { url = "https://files.pythonhosted.org/packages/4b/cb/244daf0d7be4508099ad5bca3cdfe8b8b5538acd719c5f397f614e569fff/starlette-0.40.0.tar.gz", hash = "sha256:1a3139688fb298ce5e2d661d37046a66ad996ce94be4d4983be019a23a04ea35", size = 2573611 }
1478
  wheels = [
1479
+ { url = "https://files.pythonhosted.org/packages/0a/0f/64baf7a06492e8c12f5c4b49db286787a7255195df496fc21f5fd9eecffa/starlette-0.40.0-py3-none-any.whl", hash = "sha256:c494a22fae73805376ea6bf88439783ecfba9aac88a43911b48c653437e784c4", size = 73303 },
1480
  ]
1481
 
1482
  [[package]]