Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,14 +73,12 @@ Join us : 🌟TeamTonic🌟 is always making cool demos! Join our active builder
|
|
| 73 |
1.7, 0.7, 20, 144, 245112]
|
| 74 |
]
|
| 75 |
|
| 76 |
-
|
| 77 |
examples=examples,
|
| 78 |
-
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],
|
| 79 |
outputs=output_gallery,
|
| 80 |
fn=run,
|
| 81 |
cache_examples=True
|
| 82 |
)
|
| 83 |
|
| 84 |
-
demo.add_component(examples_component)
|
| 85 |
-
|
| 86 |
demo.launch()
|
|
|
|
| 73 |
1.7, 0.7, 20, 144, 245112]
|
| 74 |
]
|
| 75 |
|
| 76 |
+
gr.Examples(
|
| 77 |
examples=examples,
|
| 78 |
+
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, large_input],
|
| 79 |
outputs=output_gallery,
|
| 80 |
fn=run,
|
| 81 |
cache_examples=True
|
| 82 |
)
|
| 83 |
|
|
|
|
|
|
|
| 84 |
demo.launch()
|