Commit
·
c3a9e27
1
Parent(s):
0a68e6e
app.py
CHANGED
@@ -49,10 +49,11 @@ def run_model(prompt, cfg_scale, steps, randomize_seed, seed, width, height):
|
|
49 |
return image, seed
|
50 |
|
51 |
with gr.Blocks() as app:
|
52 |
-
gr.Row():
|
53 |
with gr.Column():
|
54 |
prompt = gr.Textbox(label="Prompt", placeholder="Type a prompt here")
|
55 |
generate_button = gr.Button("Generate")
|
|
|
56 |
with gr.Row():
|
57 |
result = gr.Image(label="Generated Image")
|
58 |
|
@@ -70,4 +71,4 @@ with gr.Blocks() as app:
|
|
70 |
inputs=[prompt, cfg_scale, steps, randomize_seed, seed, width, height],
|
71 |
outputs=[result, seed],
|
72 |
live=True
|
73 |
-
).launch()
|
|
|
49 |
return image, seed
|
50 |
|
51 |
with gr.Blocks() as app:
|
52 |
+
with gr.Row():
|
53 |
with gr.Column():
|
54 |
prompt = gr.Textbox(label="Prompt", placeholder="Type a prompt here")
|
55 |
generate_button = gr.Button("Generate")
|
56 |
+
|
57 |
with gr.Row():
|
58 |
result = gr.Image(label="Generated Image")
|
59 |
|
|
|
71 |
inputs=[prompt, cfg_scale, steps, randomize_seed, seed, width, height],
|
72 |
outputs=[result, seed],
|
73 |
live=True
|
74 |
+
).launch()
|