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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -167,7 +167,7 @@ def reload_javascript():
167
  GradioTemplateResponseOriginal = gr.routes.templates.TemplateResponse
168
 
169
  introduce = """
170
- #ControlnetOverMask
171
  ### Controlnet
172
  ### Inpainting
173
  ### Stable diffusion
@@ -189,20 +189,21 @@ 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="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>
196
  """
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__':
 
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
+
193
+ <img src="https://raw.githubusercontent.com/hiroLinGoing/datasets/main/person.png" width="400" height="300">
194
  <video width="320" height="240" controls>
195
+ <source src="https://raw.githubusercontent.com/hiroLinGoing/datasets/main/person_control.mp4" type="video/mp4">
196
  </video>
197
  """
198
 
199
  manuscript_intro = """
200
  Added manuscript houses to an SD generated forest scene
201
+ <img src="https://raw.githubusercontent.com/hiroLinGoing/datasets/main/house.png" width="600" height="300">
202
  <video width="320" height="240" controls>
203
+ <source src="https://raw.githubusercontent.com/hiroLinGoing/datasets/main/house.mp4" type="video/mp4">
204
  </video>
205
  Added manuscript chairs to an SD generated snow scene
206
+ <img src="https://raw.githubusercontent.com/hiroLinGoing/datasets/main/chair.png" width="600" height="300">
207
  """
208
 
209
  if __name__ == '__main__':