Update app.py
Browse filesGiving Radio a Default Value
app.py
CHANGED
@@ -53,7 +53,7 @@ gr.Interface(fn=genie, inputs=[gr.Textbox(label='What you want the AI to generat
|
|
53 |
gr.Slider(1, 15, 10, step=.25, label='Guidance Scale: How Closely the AI follows the Prompt'),
|
54 |
gr.Slider(25, maximum=100, value=50, step=25, label='Number of Iterations'),
|
55 |
gr.Slider(minimum=1, step=1, maximum=999999999999999999, randomize=True, label='Seed'),
|
56 |
-
gr.Radio(['Yes', 'No'], label='Upscale?'),
|
57 |
gr.Textbox(label='Embedded Prompt'),
|
58 |
gr.Textbox(label='Embedded Negative Prompt')],
|
59 |
outputs=['image', 'image'],
|
|
|
53 |
gr.Slider(1, 15, 10, step=.25, label='Guidance Scale: How Closely the AI follows the Prompt'),
|
54 |
gr.Slider(25, maximum=100, value=50, step=25, label='Number of Iterations'),
|
55 |
gr.Slider(minimum=1, step=1, maximum=999999999999999999, randomize=True, label='Seed'),
|
56 |
+
gr.Radio(['Yes', 'No'], value='No', label='Upscale?'),
|
57 |
gr.Textbox(label='Embedded Prompt'),
|
58 |
gr.Textbox(label='Embedded Negative Prompt')],
|
59 |
outputs=['image', 'image'],
|