Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -67,5 +67,20 @@ Join us : ๐TeamTonic๐ is always making cool demos! Join our active builder
|
|
67 |
inputs=[image_input, style_input, image_desc_input, prompts_input, shared_score_shift_input, shared_score_scale_input, guidance_scale_input, num_inference_steps_input, seed_input],
|
68 |
outputs=output_gallery
|
69 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
demo.launch()
|
|
|
67 |
inputs=[image_input, style_input, image_desc_input, prompts_input, shared_score_shift_input, shared_score_scale_input, guidance_scale_input, num_inference_steps_input, seed_input],
|
68 |
outputs=output_gallery
|
69 |
)
|
70 |
+
examples = [
|
71 |
+
["./download%20(8).jpg", "picasso blue period", "a portrait of a man playing guitar",
|
72 |
+
"an astronaut holding a cocktail glass\nan astronaut in space holding a laptop\nan astronaut in space with an explosion of iridescent powder",
|
73 |
+
1.7, 0.7, 20, 144, False, 245112]
|
74 |
+
]
|
75 |
+
|
76 |
+
examples_component = gr.Examples(
|
77 |
+
examples=examples,
|
78 |
+
inputs=[image_input, style_input, ref_image_input, prompts_input, shared_score_shift_input, shared_score_scale_input, guidance_scale_input, num_inference_steps_input, large_input, seed_input],
|
79 |
+
outputs=output_gallery,
|
80 |
+
fn=run,
|
81 |
+
cache_examples=True
|
82 |
+
)
|
83 |
+
|
84 |
+
demo.add_component(examples_component)
|
85 |
|
86 |
demo.launch()
|