Yntec commited on
Commit
f46ddda
·
1 Parent(s): f904f1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -163,14 +163,16 @@ with gr.Blocks(css=css) as myface:
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}"))
 
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
+ run=gr.Button("Generate 8 Images")
169
+ with gr.Row():
170
+ with gr.Column(scale=100):
171
+ #Model selection dropdown
172
+ model_name1 = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", value=current_model, interactive=True)
173
+ with gr.Column():
174
+ use_short=gr.Button("Use Short Prompt")
175
+ see_prompts=gr.Button("Extend Idea")
176
  with gr.Tab("Main"):
177
  with gr.Row():
178
  output1=gr.Image(label=(f"{current_model}"))