Ming Li commited on
Commit
95068c2
β€’
1 Parent(s): 5e6ac90
Files changed (7) hide show
  1. README.md +1 -1
  2. app_canny.py +2 -2
  3. app_depth.py +2 -2
  4. app_lineart.py +2 -2
  5. app_segmentation.py +2 -2
  6. app_softedge.py +2 -2
  7. 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.27.0
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=None,
66
- fn=None,
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=None,
67
- fn=None,
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=None,
93
- fn=None,
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=None,
70
- fn=None,
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=None,
75
- fn=None,
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.27.0
11
  mediapipe
12
  spaces
 
7
  accelerate
8
  kornia
9
  huggingface_hub
10
+ gradio==4.26.0
11
  mediapipe
12
  spaces