Spaces:
Runtime error
Runtime error
Add examples
Browse files- app_base.py +20 -0
- assets/depth-midas-image.png +3 -0
- assets/openpose-image.png +3 -0
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
|
assets/openpose-image.png
ADDED
Git LFS Details
|