hysts HF staff commited on
Commit
1b1bdb6
β€’
1 Parent(s): 4cabf12
Files changed (6) hide show
  1. .gitignore +1 -1
  2. README.md +1 -1
  3. app.py +0 -2
  4. pyproject.toml +1 -1
  5. requirements.txt +1 -1
  6. uv.lock +4 -4
.gitignore CHANGED
@@ -1,4 +1,4 @@
1
- gradio_cached_examples/
2
 
3
  # Byte-compiled / optimized / DLL files
4
  __pycache__/
 
1
+ .gradio/
2
 
3
  # Byte-compiled / optimized / DLL files
4
  __pycache__/
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🌍
4
  colorFrom: gray
5
  colorTo: purple
6
  sdk: gradio
7
- sdk_version: 5.0.1
8
  app_file: app.py
9
  license: mit
10
  pinned: false
 
4
  colorFrom: gray
5
  colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 5.0.2
8
  app_file: app.py
9
  license: mit
10
  pinned: false
app.py CHANGED
@@ -234,8 +234,6 @@ with gr.Blocks(css_paths="style.css") as demo:
234
  inputs=prompt,
235
  outputs=result,
236
  fn=generate,
237
- cache_examples=True,
238
- cache_mode="lazy",
239
  )
240
 
241
  use_negative_prompt.change(
 
234
  inputs=prompt,
235
  outputs=result,
236
  fn=generate,
 
 
237
  )
238
 
239
  use_negative_prompt.change(
pyproject.toml CHANGED
@@ -7,7 +7,7 @@ requires-python = ">=3.10"
7
  dependencies = [
8
  "accelerate>=1.0.0",
9
  "diffusers>=0.30.3",
10
- "gradio>=5.0.1",
11
  "hf-transfer>=0.1.8",
12
  "spaces>=0.30.3",
13
  "torch==2.4.0",
 
7
  dependencies = [
8
  "accelerate>=1.0.0",
9
  "diffusers>=0.30.3",
10
+ "gradio>=5.0.2",
11
  "hf-transfer>=0.1.8",
12
  "spaces>=0.30.3",
13
  "torch==2.4.0",
requirements.txt CHANGED
@@ -42,7 +42,7 @@ fsspec==2024.9.0
42
  # gradio-client
43
  # huggingface-hub
44
  # torch
45
- gradio==5.0.1
46
  # via
47
  # sdxl (pyproject.toml)
48
  # spaces
 
42
  # gradio-client
43
  # huggingface-hub
44
  # torch
45
+ gradio==5.0.2
46
  # via
47
  # sdxl (pyproject.toml)
48
  # spaces
uv.lock CHANGED
@@ -228,7 +228,7 @@ wheels = [
228
 
229
  [[package]]
230
  name = "gradio"
231
- version = "5.0.1"
232
  source = { registry = "https://pypi.org/simple" }
233
  dependencies = [
234
  { name = "aiofiles" },
@@ -257,9 +257,9 @@ dependencies = [
257
  { name = "urllib3", marker = "sys_platform == 'emscripten'" },
258
  { name = "uvicorn", marker = "sys_platform != 'emscripten'" },
259
  ]
260
- sdist = { url = "https://files.pythonhosted.org/packages/bd/e0/b2316f632c3929969393c99d7c25c4879e0e93ce6b441b7a9ce559579a06/gradio-5.0.1.tar.gz", hash = "sha256:fb05b2286eda447d9750864049bf1af8f6d835137629c41735ab2d24c4cf7cca", size = 51971207 }
261
  wheels = [
262
- { url = "https://files.pythonhosted.org/packages/aa/c0/9b5a96b27afd50afcbdcc5b9d563c66a6b2ff33c9a4ec88ca4f7da331d98/gradio-5.0.1-py3-none-any.whl", hash = "sha256:db731c154372599760ba55cc885872da8fee6029cc2cf16099e1471840dbede4", size = 42307377 },
263
  ]
264
 
265
  [[package]]
@@ -1202,7 +1202,7 @@ dependencies = [
1202
  requires-dist = [
1203
  { name = "accelerate", specifier = ">=1.0.0" },
1204
  { name = "diffusers", specifier = ">=0.30.3" },
1205
- { name = "gradio", specifier = ">=5.0.1" },
1206
  { name = "hf-transfer", specifier = ">=0.1.8" },
1207
  { name = "spaces", specifier = ">=0.30.3" },
1208
  { name = "torch", specifier = "==2.4.0" },
 
228
 
229
  [[package]]
230
  name = "gradio"
231
+ version = "5.0.2"
232
  source = { registry = "https://pypi.org/simple" }
233
  dependencies = [
234
  { name = "aiofiles" },
 
257
  { name = "urllib3", marker = "sys_platform == 'emscripten'" },
258
  { name = "uvicorn", marker = "sys_platform != 'emscripten'" },
259
  ]
260
+ sdist = { url = "https://files.pythonhosted.org/packages/7f/48/111e503700934d5d2f4ab9b593aff9890cd6af7c0a35a649edf593ec6b13/gradio-5.0.2.tar.gz", hash = "sha256:ba49bd8d58dd74302e019aa5c0cd8c351d534ec2ea9cbc83e944be7b2f3cc56c", size = 51975122 }
261
  wheels = [
262
+ { url = "https://files.pythonhosted.org/packages/4b/52/4834e55fd6aab3a7a33c5cd59fd46e45bca2e41118c153b33d6393cb2206/gradio-5.0.2-py3-none-any.whl", hash = "sha256:b9077078d643d0647d2edb03ef20c81561aaaccffab6050ac5a4f26c7f616ab3", size = 42309033 },
263
  ]
264
 
265
  [[package]]
 
1202
  requires-dist = [
1203
  { name = "accelerate", specifier = ">=1.0.0" },
1204
  { name = "diffusers", specifier = ">=0.30.3" },
1205
+ { name = "gradio", specifier = ">=5.0.2" },
1206
  { name = "hf-transfer", specifier = ">=0.1.8" },
1207
  { name = "spaces", specifier = ">=0.30.3" },
1208
  { name = "torch", specifier = "==2.4.0" },