Spaces:
Sleeping
Sleeping
slymnyldrm
commited on
Commit
•
7e11645
1
Parent(s):
54aab52
Update app.py
Browse files
app.py
CHANGED
@@ -38,9 +38,7 @@ with gr.Blocks() as demo:
|
|
38 |
num_inference_steps = gr.Slider(label="Steps", value=50)
|
39 |
with gr.Column():
|
40 |
gallery = gr.Gallery()
|
41 |
-
with gr.Row():
|
42 |
-
g_seed = gr.Number(label="Random Number Generator Seed", value=52362, dtype=int)
|
43 |
|
44 |
-
run.click(inference, inputs=[prompt, negative_prompt, num_samples, height, width, num_inference_steps, guidance_scale
|
45 |
|
46 |
demo.launch()
|
|
|
38 |
num_inference_steps = gr.Slider(label="Steps", value=50)
|
39 |
with gr.Column():
|
40 |
gallery = gr.Gallery()
|
|
|
|
|
41 |
|
42 |
+
run.click(inference, inputs=[prompt, negative_prompt, num_samples, height, width, num_inference_steps, guidance_scale], outputs=gallery)
|
43 |
|
44 |
demo.launch()
|