Spaces:
Runtime error
Runtime error
Update app.py
Browse filesmodify file path
app.py
CHANGED
|
@@ -178,7 +178,7 @@ Usually when we generate a very perfect background image, we want to add image e
|
|
| 178 |
|
| 179 |
Support skeletal character generation and sketch generation.
|
| 180 |
|
| 181 |
-
Optimize an inpaint model for the general domain against the stablediffusion-inpaint model.
|
| 182 |
|
| 183 |
### Two modes, openpose control and manuscript control
|
| 184 |
#### openpose control
|
|
@@ -188,20 +188,21 @@ Optimize an inpaint model for the general domain against the stablediffusion-inp
|
|
| 188 |
|
| 189 |
openpose_intro = """
|
| 190 |
Add character skeletons to a forest scene generated by SD, and keep the background unchanged to generate controllable characters
|
| 191 |
-
|
|
|
|
| 192 |
<video width="320" height="240" controls>
|
| 193 |
-
<source src="
|
| 194 |
</video>
|
| 195 |
"""
|
| 196 |
|
| 197 |
manuscript_intro = """
|
| 198 |
Added manuscript houses to an SD generated forest scene
|
| 199 |
-
<img src="
|
| 200 |
<video width="320" height="240" controls>
|
| 201 |
-
<source src="
|
| 202 |
</video>
|
| 203 |
Added manuscript chairs to an SD generated snow scene
|
| 204 |
-
<img src="
|
| 205 |
"""
|
| 206 |
|
| 207 |
if __name__ == '__main__':
|
|
|
|
| 178 |
|
| 179 |
Support skeletal character generation and sketch generation.
|
| 180 |
|
| 181 |
+
Optimize an inpaint model ( ./models/Any-inpainting ) for the general domain against the stablediffusion-inpaint model.
|
| 182 |
|
| 183 |
### Two modes, openpose control and manuscript control
|
| 184 |
#### openpose control
|
|
|
|
| 188 |
|
| 189 |
openpose_intro = """
|
| 190 |
Add character skeletons to a forest scene generated by SD, and keep the background unchanged to generate controllable characters
|
| 191 |
+
( ./models/control_any5_openpose )
|
| 192 |
+
<img src="person.png" width="400" height="300">
|
| 193 |
<video width="320" height="240" controls>
|
| 194 |
+
<source src="person_control.mp4" type="video/mp4">
|
| 195 |
</video>
|
| 196 |
"""
|
| 197 |
|
| 198 |
manuscript_intro = """
|
| 199 |
Added manuscript houses to an SD generated forest scene
|
| 200 |
+
<img src="house.png" width="600" height="300">
|
| 201 |
<video width="320" height="240" controls>
|
| 202 |
+
<source src="house.mp4" type="video/mp4">
|
| 203 |
</video>
|
| 204 |
Added manuscript chairs to an SD generated snow scene
|
| 205 |
+
<img src="chair.png" width="600" height="300">
|
| 206 |
"""
|
| 207 |
|
| 208 |
if __name__ == '__main__':
|