Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -140,7 +140,7 @@ with gr.Blocks(css=css) as demo:
|
|
140 |
with gr.Row(visible=True) as text_to_image:
|
141 |
|
142 |
with gr.Column(visible=True):
|
143 |
-
prompt = gr.inputs.Textbox(label='Prompt', default='a photo of an astronaut riding a horse on mars'
|
144 |
inference_steps = gr.inputs.Slider(1, 100, label='Inference Steps - increase the steps for better quality (e.g., avoiding black image) ', default=20, step=1)
|
145 |
seed = gr.inputs.Slider(0, 2147483647, label='Seed', default=random_seed, step=1)
|
146 |
guidance_scale = gr.inputs.Slider(1.0, 20.0, label='Guidance Scale - how much the prompt will influence the results', default=7.5, step=0.1)
|
|
|
140 |
with gr.Row(visible=True) as text_to_image:
|
141 |
|
142 |
with gr.Column(visible=True):
|
143 |
+
prompt = gr.inputs.Textbox(label='Prompt', default='a photo of an astronaut riding a horse on mars')
|
144 |
inference_steps = gr.inputs.Slider(1, 100, label='Inference Steps - increase the steps for better quality (e.g., avoiding black image) ', default=20, step=1)
|
145 |
seed = gr.inputs.Slider(0, 2147483647, label='Seed', default=random_seed, step=1)
|
146 |
guidance_scale = gr.inputs.Slider(1.0, 20.0, label='Guidance Scale - how much the prompt will influence the results', default=7.5, step=0.1)
|