Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -162,14 +162,13 @@ with gr.Blocks(css=css) as demo:
|
|
| 162 |
guidance_scale_input = gr.Slider(minimum=0.0, maximum=10.0, step=0.5, value=3.5, label="Guidance Scale - high noise stage")
|
| 163 |
guidance_scale_2_input = gr.Slider(minimum=0.0, maximum=10.0, step=0.5, value=4, label="Guidance Scale 2 - low noise stage")
|
| 164 |
|
| 165 |
-
|
| 166 |
examples=[
|
| 167 |
[
|
| 168 |
"Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage."
|
| 169 |
],
|
| 170 |
],
|
| 171 |
-
inputs=[prompt_input], outputs=[img_output, seed_input], fn=generate_image, cache_examples="lazy"
|
| 172 |
-
)
|
| 173 |
ui_inputs = [
|
| 174 |
prompt_input,
|
| 175 |
negative_prompt_input,
|
|
|
|
| 162 |
guidance_scale_input = gr.Slider(minimum=0.0, maximum=10.0, step=0.5, value=3.5, label="Guidance Scale - high noise stage")
|
| 163 |
guidance_scale_2_input = gr.Slider(minimum=0.0, maximum=10.0, step=0.5, value=4, label="Guidance Scale 2 - low noise stage")
|
| 164 |
|
| 165 |
+
gr.Examples(
|
| 166 |
examples=[
|
| 167 |
[
|
| 168 |
"Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage."
|
| 169 |
],
|
| 170 |
],
|
| 171 |
+
inputs=[prompt_input], outputs=[img_output, seed_input], fn=generate_image, cache_examples="lazy")
|
|
|
|
| 172 |
ui_inputs = [
|
| 173 |
prompt_input,
|
| 174 |
negative_prompt_input,
|