Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -66,6 +66,17 @@ with gr.Blocks(css=css) as demo:
|
|
66 |
submit_btn = gr.Button("Submit")
|
67 |
output_res = ImageSlider(label="Flux / Upscaled")
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
submit_btn.click(
|
70 |
fn=main,
|
71 |
inputs=[prompt_in, upscale_factor],
|
|
|
66 |
submit_btn = gr.Button("Submit")
|
67 |
output_res = ImageSlider(label="Flux / Upscaled")
|
68 |
|
69 |
+
gr.Examples(
|
70 |
+
examples = [
|
71 |
+
["a tiny astronaut hatching from an egg on the moon", 2],
|
72 |
+
["a bright blue bird in the garden, natural photo cinematic, MM full HD", 2]
|
73 |
+
],
|
74 |
+
fn = main,
|
75 |
+
inputs=[prompt_in, upscale_factor],
|
76 |
+
outputs=[output_res],
|
77 |
+
cache_examples = True
|
78 |
+
)
|
79 |
+
|
80 |
submit_btn.click(
|
81 |
fn=main,
|
82 |
inputs=[prompt_in, upscale_factor],
|