hirol commited on
Commit
919599c
1 Parent(s): bc90423

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -167,7 +167,7 @@ def reload_javascript():
167
  GradioTemplateResponseOriginal = gr.routes.templates.TemplateResponse
168
 
169
  introduce = """
170
- # ControlnetWithBackground
171
  ### Controlnet
172
  ### Inpainting
173
  ### Stable diffusion
@@ -189,7 +189,7 @@ Optimize an inpaint model ( ./models/Any-inpainting ) for the general domain ag
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>
@@ -197,12 +197,12 @@ Add character skeletons to a forest scene generated by SD, and keep the backgrou
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__':
 
167
  GradioTemplateResponseOriginal = gr.routes.templates.TemplateResponse
168
 
169
  introduce = """
170
+ #ControlnetOverMask
171
  ### Controlnet
172
  ### Inpainting
173
  ### Stable diffusion
 
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="https://huggingface.co/spaces/hirol/controlnetOverMask/resolve/main/person.png" width="400" height="300">
193
  <video width="320" height="240" controls>
194
  <source src="person_control.mp4" type="video/mp4">
195
  </video>
 
197
 
198
  manuscript_intro = """
199
  Added manuscript houses to an SD generated forest scene
200
+ <img src="https://huggingface.co/spaces/hirol/controlnetOverMask/resolve/main/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="https://huggingface.co/spaces/hirol/controlnetOverMask/resolve/main/chair.png" width="600" height="300">
206
  """
207
 
208
  if __name__ == '__main__':