Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files- .gitignore +1 -1
- README.md +1 -1
- app.py +0 -2
- pyproject.toml +1 -1
- requirements.txt +1 -1
- uv.lock +4 -4
.gitignore
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
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.
|
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.
|
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.
|
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.
|
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/
|
261 |
wheels = [
|
262 |
-
{ url = "https://files.pythonhosted.org/packages/
|
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.
|
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" },
|