Upload 2 files
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title: TestDifs
|
3 |
emoji: 🛕🛕
|
4 |
colorFrom: green
|
5 |
colorTo: blue
|
|
|
1 |
---
|
2 |
+
title: TestDifs
|
3 |
emoji: 🛕🛕
|
4 |
colorFrom: green
|
5 |
colorTo: blue
|
app.py
CHANGED
@@ -229,12 +229,12 @@ def make_me():
|
|
229 |
with gr.Row():
|
230 |
#txt_input = gr.Textbox(lines=3, width=300, max_height=100)
|
231 |
#txt_input = gr.Textbox(label='Your prompt:', lines=3, width=300, max_height=100)
|
232 |
-
txt_input = gr.Textbox(label='Your prompt:', lines=3)
|
233 |
#gen_button = gr.Button('Generate images', width=150, height=30)
|
234 |
#stop_button = gr.Button('Stop', variant='secondary', interactive=False, width=150, height=30)
|
235 |
-
gen_button = gr.Button('Generate images')
|
236 |
-
stop_button = gr.Button('Stop', variant='secondary', interactive=False)
|
237 |
-
with gr.Accordion("Advanced", open=False, visible=True):
|
238 |
neg_input = gr.Textbox(label='Negative prompt:', lines=1)
|
239 |
with gr.Row():
|
240 |
width = gr.Number(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|
|
|
229 |
with gr.Row():
|
230 |
#txt_input = gr.Textbox(lines=3, width=300, max_height=100)
|
231 |
#txt_input = gr.Textbox(label='Your prompt:', lines=3, width=300, max_height=100)
|
232 |
+
txt_input = gr.Textbox(label='Your prompt:', lines=3, scale=4)
|
233 |
#gen_button = gr.Button('Generate images', width=150, height=30)
|
234 |
#stop_button = gr.Button('Stop', variant='secondary', interactive=False, width=150, height=30)
|
235 |
+
gen_button = gr.Button('Generate images', scale=2)
|
236 |
+
stop_button = gr.Button('Stop', variant='secondary', interactive=False, scale=1)
|
237 |
+
with gr.Accordion("Advanced", open=False, visible=True, scale=2):
|
238 |
neg_input = gr.Textbox(label='Negative prompt:', lines=1)
|
239 |
with gr.Row():
|
240 |
width = gr.Number(label="Width", info="If 0, the default value is used.", maximum=1216, step=32, value=0)
|