Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -163,14 +163,14 @@ with gr.Blocks(css=css) as myface:
|
|
163 |
gr.ImagePaint(label="Draw", interactive=True)
|
164 |
|
165 |
with gr.Row():
|
166 |
-
with gr.Column():
|
167 |
-
prompt=gr.Textbox(label="Prompt", show_label=False, lines=
|
168 |
#Model selection dropdown
|
169 |
-
|
170 |
with gr.Column():
|
|
|
171 |
use_short=gr.Button("Use Short Prompt")
|
172 |
see_prompts=gr.Button("Extend Idea")
|
173 |
-
run=gr.Button("Generate Images")
|
174 |
with gr.Tab("Main"):
|
175 |
with gr.Row():
|
176 |
output1=gr.Image(label=(f"{current_model}"))
|
|
|
163 |
gr.ImagePaint(label="Draw", interactive=True)
|
164 |
|
165 |
with gr.Row():
|
166 |
+
with gr.Column(scale=100):
|
167 |
+
prompt=gr.Textbox(label="Prompt", show_label=False, lines=4,placeholder="[your prompt]").style(container=False)
|
168 |
#Model selection dropdown
|
169 |
+
run=gr.Button("Generate 8 Images")
|
170 |
with gr.Column():
|
171 |
+
model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
|
172 |
use_short=gr.Button("Use Short Prompt")
|
173 |
see_prompts=gr.Button("Extend Idea")
|
|
|
174 |
with gr.Tab("Main"):
|
175 |
with gr.Row():
|
176 |
output1=gr.Image(label=(f"{current_model}"))
|