Spaces:
Runtime error
Runtime error
phenomenon1981
commited on
Commit
•
4925144
1
Parent(s):
b7d481d
Update app.py
Browse files
app.py
CHANGED
@@ -159,7 +159,7 @@ with gr.Blocks(css=css) as demo:
|
|
159 |
|
160 |
with gr.Row():
|
161 |
with gr.Row():
|
162 |
-
noise_level = gr.Slider(minimum=0.
|
163 |
with gr.Row():
|
164 |
with gr.Row():
|
165 |
output1=gr.Image(label="Dreamlike Diffusion 1.0",show_label=False)
|
@@ -168,9 +168,9 @@ with gr.Blocks(css=css) as demo:
|
|
168 |
#with gr.Row():
|
169 |
#output1=gr.Image()
|
170 |
|
|
|
171 |
run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])
|
172 |
run.click(send_it2, inputs=[prompt, noise_level], outputs=[output2])
|
173 |
-
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt])
|
174 |
|
175 |
|
176 |
with gr.Row():
|
|
|
159 |
|
160 |
with gr.Row():
|
161 |
with gr.Row():
|
162 |
+
noise_level = gr.Slider(minimum=0.0, maximum=3, step=0.1, label="Noise Level")
|
163 |
with gr.Row():
|
164 |
with gr.Row():
|
165 |
output1=gr.Image(label="Dreamlike Diffusion 1.0",show_label=False)
|
|
|
168 |
#with gr.Row():
|
169 |
#output1=gr.Image()
|
170 |
|
171 |
+
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt], queue=False)
|
172 |
run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])
|
173 |
run.click(send_it2, inputs=[prompt, noise_level], outputs=[output2])
|
|
|
174 |
|
175 |
|
176 |
with gr.Row():
|