Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -25,9 +25,9 @@ example_prompt = "a photo of an astronaut riding a horse on mars"
|
|
25 |
# gradio interface
|
26 |
interface = gr.Interface(
|
27 |
fn=generate_image,
|
28 |
-
inputs= [gr.Textbox(label="Prompt",
|
29 |
gr.Dropdown(model_ids,label="Select the model ID"),
|
30 |
-
gr.Slider(minimum=0.1,maximum=10,
|
31 |
outputs="image",
|
32 |
live=False,
|
33 |
title="Text to Image",
|
|
|
25 |
# gradio interface
|
26 |
interface = gr.Interface(
|
27 |
fn=generate_image,
|
28 |
+
inputs= [gr.Textbox(label="Prompt", value=example_prompt),
|
29 |
gr.Dropdown(model_ids,label="Select the model ID"),
|
30 |
+
gr.Slider(minimum=0.1,maximum=10, value=7.5, label="Guidance Scale")],
|
31 |
outputs="image",
|
32 |
live=False,
|
33 |
title="Text to Image",
|