Spaces:
Running
Running
Ming Li
commited on
Commit
β’
95068c2
1
Parent(s):
5e6ac90
fix bug
Browse files- README.md +1 -1
- app_canny.py +2 -2
- app_depth.py +2 -2
- app_lineart.py +2 -2
- app_segmentation.py +2 -2
- app_softedge.py +2 -2
- requirements.txt +1 -1
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: π
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.
|
8 |
python_version: 3.10.13
|
9 |
app_file: app.py
|
10 |
pinned: false
|
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.26.0
|
8 |
python_version: 3.10.13
|
9 |
app_file: app.py
|
10 |
pinned: false
|
app_canny.py
CHANGED
@@ -62,8 +62,8 @@ def create_demo(process):
|
|
62 |
guidance_scale,
|
63 |
seed,
|
64 |
],
|
65 |
-
outputs=
|
66 |
-
fn=
|
67 |
)
|
68 |
|
69 |
inputs = [
|
|
|
62 |
guidance_scale,
|
63 |
seed,
|
64 |
],
|
65 |
+
outputs=result,
|
66 |
+
fn=process,
|
67 |
)
|
68 |
|
69 |
inputs = [
|
app_depth.py
CHANGED
@@ -63,8 +63,8 @@ def create_demo(process):
|
|
63 |
guidance_scale,
|
64 |
seed,
|
65 |
],
|
66 |
-
outputs=
|
67 |
-
fn=
|
68 |
)
|
69 |
|
70 |
inputs = [
|
|
|
63 |
guidance_scale,
|
64 |
seed,
|
65 |
],
|
66 |
+
outputs=result,
|
67 |
+
fn=process,
|
68 |
)
|
69 |
|
70 |
inputs = [
|
app_lineart.py
CHANGED
@@ -89,8 +89,8 @@ def create_demo(process):
|
|
89 |
prompt,
|
90 |
preprocessor_name
|
91 |
],
|
92 |
-
outputs=
|
93 |
-
fn=
|
94 |
)
|
95 |
|
96 |
inputs = [
|
|
|
89 |
prompt,
|
90 |
preprocessor_name
|
91 |
],
|
92 |
+
outputs=result,
|
93 |
+
fn=process,
|
94 |
)
|
95 |
|
96 |
inputs = [
|
app_segmentation.py
CHANGED
@@ -66,8 +66,8 @@ def create_demo(process):
|
|
66 |
guidance_scale,
|
67 |
seed,
|
68 |
],
|
69 |
-
outputs=
|
70 |
-
fn=
|
71 |
)
|
72 |
|
73 |
inputs = [
|
|
|
66 |
guidance_scale,
|
67 |
seed,
|
68 |
],
|
69 |
+
outputs=result,
|
70 |
+
fn=process,
|
71 |
)
|
72 |
|
73 |
inputs = [
|
app_softedge.py
CHANGED
@@ -71,8 +71,8 @@ def create_demo(process):
|
|
71 |
guidance_scale,
|
72 |
seed,
|
73 |
],
|
74 |
-
outputs=
|
75 |
-
fn=
|
76 |
)
|
77 |
|
78 |
inputs = [
|
|
|
71 |
guidance_scale,
|
72 |
seed,
|
73 |
],
|
74 |
+
outputs=result,
|
75 |
+
fn=process,
|
76 |
)
|
77 |
|
78 |
inputs = [
|
requirements.txt
CHANGED
@@ -7,6 +7,6 @@ safetensors
|
|
7 |
accelerate
|
8 |
kornia
|
9 |
huggingface_hub
|
10 |
-
gradio==4.
|
11 |
mediapipe
|
12 |
spaces
|
|
|
7 |
accelerate
|
8 |
kornia
|
9 |
huggingface_hub
|
10 |
+
gradio==4.26.0
|
11 |
mediapipe
|
12 |
spaces
|