Spaces:
Running
on
Zero
Running
on
Zero
change version
Browse files
app.py
CHANGED
@@ -247,7 +247,9 @@ def create_demo():
|
|
247 |
116150031980664704,
|
248 |
],
|
249 |
]
|
250 |
-
gr.Examples(examples=example_inps, inputs=[ref_image1, ref_task1, prompt, seed], label='IP task', cache_examples='lazy'
|
|
|
|
|
251 |
|
252 |
example_inps = [
|
253 |
[
|
@@ -264,6 +266,8 @@ def create_demo():
|
|
264 |
inputs=[ref_image1, ref_task1, prompt, seed],
|
265 |
label='ID task (similar to PuLID, will only refer to the face)',
|
266 |
cache_examples='lazy',
|
|
|
|
|
267 |
)
|
268 |
|
269 |
example_inps = [
|
@@ -280,7 +284,9 @@ def create_demo():
|
|
280 |
5248066378927500767,
|
281 |
],
|
282 |
]
|
283 |
-
gr.Examples(examples=example_inps, inputs=[ref_image1, ref_task1, prompt, seed], label='Style task', cache_examples='lazy'
|
|
|
|
|
284 |
|
285 |
example_inps = [
|
286 |
[
|
@@ -305,6 +311,8 @@ def create_demo():
|
|
305 |
inputs=[ref_image1, ref_image2, ref_task1, ref_task2, prompt, seed],
|
306 |
label='Try-On task',
|
307 |
cache_examples='lazy',
|
|
|
|
|
308 |
)
|
309 |
|
310 |
example_inps = [
|
@@ -338,6 +346,8 @@ def create_demo():
|
|
338 |
inputs=[ref_image1, ref_image2, ref_task1, ref_task2, prompt, seed],
|
339 |
label='Multi IP',
|
340 |
cache_examples='lazy',
|
|
|
|
|
341 |
)
|
342 |
|
343 |
generate_btn.click(
|
|
|
247 |
116150031980664704,
|
248 |
],
|
249 |
]
|
250 |
+
gr.Examples(examples=example_inps, inputs=[ref_image1, ref_task1, prompt, seed], label='IP task', cache_examples='lazy',
|
251 |
+
outputs=[output_image, debug_image, seed_output],
|
252 |
+
fn=generate_image,)
|
253 |
|
254 |
example_inps = [
|
255 |
[
|
|
|
266 |
inputs=[ref_image1, ref_task1, prompt, seed],
|
267 |
label='ID task (similar to PuLID, will only refer to the face)',
|
268 |
cache_examples='lazy',
|
269 |
+
outputs=[output_image, debug_image, seed_output],
|
270 |
+
fn=generate_image,
|
271 |
)
|
272 |
|
273 |
example_inps = [
|
|
|
284 |
5248066378927500767,
|
285 |
],
|
286 |
]
|
287 |
+
gr.Examples(examples=example_inps, inputs=[ref_image1, ref_task1, prompt, seed], label='Style task', cache_examples='lazy',
|
288 |
+
outputs=[output_image, debug_image, seed_output],
|
289 |
+
fn=generate_image,)
|
290 |
|
291 |
example_inps = [
|
292 |
[
|
|
|
311 |
inputs=[ref_image1, ref_image2, ref_task1, ref_task2, prompt, seed],
|
312 |
label='Try-On task',
|
313 |
cache_examples='lazy',
|
314 |
+
outputs=[output_image, debug_image, seed_output],
|
315 |
+
fn=generate_image,
|
316 |
)
|
317 |
|
318 |
example_inps = [
|
|
|
346 |
inputs=[ref_image1, ref_image2, ref_task1, ref_task2, prompt, seed],
|
347 |
label='Multi IP',
|
348 |
cache_examples='lazy',
|
349 |
+
outputs=[output_image, debug_image, seed_output],
|
350 |
+
fn=generate_image,
|
351 |
)
|
352 |
|
353 |
generate_btn.click(
|