Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def make_me():
|
|
46 |
# with gr.Tab('The Dream'):
|
47 |
with gr.Row():
|
48 |
#txt_input = gr.Textbox(lines=3, width=600, max_height=100)
|
49 |
-
txt_input = gr.Textbox(label='Your prompt:', lines=3, width=
|
50 |
|
51 |
gen_button = gr.Button('Generate images', width=30, height=30)
|
52 |
stop_button = gr.Button('Stop', variant='secondary', interactive=False, width=30, height=30)
|
@@ -58,7 +58,7 @@ def make_me():
|
|
58 |
</div>
|
59 |
""")
|
60 |
with gr.Row():
|
61 |
-
output = [gr.Image(label=m, min_width=
|
62 |
current_models = [gr.Textbox(m, visible=False) for m in default_models]
|
63 |
for m, o in zip(current_models, output):
|
64 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|
|
|
46 |
# with gr.Tab('The Dream'):
|
47 |
with gr.Row():
|
48 |
#txt_input = gr.Textbox(lines=3, width=600, max_height=100)
|
49 |
+
txt_input = gr.Textbox(label='Your prompt:', lines=3, width=800, max_height=100)
|
50 |
|
51 |
gen_button = gr.Button('Generate images', width=30, height=30)
|
52 |
stop_button = gr.Button('Stop', variant='secondary', interactive=False, width=30, height=30)
|
|
|
58 |
</div>
|
59 |
""")
|
60 |
with gr.Row():
|
61 |
+
output = [gr.Image(label=m, min_width=250, height=250) for m in default_models]
|
62 |
current_models = [gr.Textbox(m, visible=False) for m in default_models]
|
63 |
for m, o in zip(current_models, output):
|
64 |
gen_event = gen_button.click(gen_fn, [m, txt_input], o)
|