hysts HF staff commited on
Commit
e77b7f5
1 Parent(s): 5cb020b

Add examples

Browse files
app_base.py CHANGED
@@ -132,6 +132,26 @@ def create_demo(model: Model) -> gr.Blocks:
132
  0,
133
  True,
134
  ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  ]
136
 
137
  with gr.Blocks() as demo:
 
132
  0,
133
  True,
134
  ],
135
+ [
136
+ "assets/depth-midas-image.png",
137
+ "stormtrooper lecture, 4k photo, highly detailed",
138
+ "depth-midas",
139
+ "Photographic",
140
+ 5.0,
141
+ 1.0,
142
+ 0,
143
+ False,
144
+ ],
145
+ [
146
+ "assets/openpose-image.png",
147
+ "spiderman, 4k photo, highly detailed",
148
+ "openpose",
149
+ "Photographic",
150
+ 5.0,
151
+ 1.0,
152
+ 0,
153
+ False,
154
+ ],
155
  ]
156
 
157
  with gr.Blocks() as demo:
assets/depth-midas-image.png ADDED

Git LFS Details

  • SHA256: a5a7d76e15c3b261ef18c57477a38f9b683ba1053947984c04245c597a476d34
  • Pointer size: 131 Bytes
  • Size of remote file: 113 kB
assets/openpose-image.png ADDED

Git LFS Details

  • SHA256: ba7eed867d116fbe963a03890d3e96c9b6c63b43d755124164581dae5b2fdbd2
  • Pointer size: 130 Bytes
  • Size of remote file: 19.7 kB