Yntec commited on
Commit
287d894
β€’
1 Parent(s): f8312d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -169,13 +169,13 @@ with gr.Blocks(css=css) as myface:
169
 
170
  with gr.Row():
171
  with gr.Column():
172
- input_text=gr.Textbox(label="Short Prompt",lines=2)
173
  #Model selection dropdown
174
  model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
175
  with gr.Column():
176
  use_short=gr.Button("Use Short Prompt")
177
- see_prompts=gr.Button("Generate Magic Prompts")
178
- run=gr.Button("Launch")
179
  with gr.Tab("Main"):
180
  with gr.Row():
181
  output1=gr.Image(label=(f"{current_model}"))
@@ -183,20 +183,20 @@ with gr.Blocks(css=css) as myface:
183
  output3=gr.Image(label=(f"{current_model}"))
184
  output4=gr.Image(label=(f"{current_model}"))
185
  with gr.Row():
186
- magic1=gr.Textbox(lines=4)
187
- magic2=gr.Textbox(lines=4)
188
- magic3=gr.Textbox(lines=4)
189
- magic4=gr.Textbox(lines=4)
190
  with gr.Row():
191
  output5=gr.Image(label=(f"{current_model}"))
192
  output6=gr.Image(label=(f"{current_model}"))
193
  output7=gr.Image(label=(f"{current_model}"))
194
  output8=gr.Image(label=(f"{current_model}"))
195
  with gr.Row():
196
- magic5=gr.Textbox(lines=4)
197
- magic6=gr.Textbox(lines=4)
198
- magic7=gr.Textbox(lines=4)
199
- magic8=gr.Textbox(lines=4)
200
 
201
  def short_prompt(inputs):
202
  return(inputs)
 
169
 
170
  with gr.Row():
171
  with gr.Column():
172
+ input_text=gr.Textbox(label="Prompt Idea",lines=2)
173
  #Model selection dropdown
174
  model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
175
  with gr.Column():
176
  use_short=gr.Button("Use Short Prompt")
177
+ see_prompts=gr.Button("Extend Idea")
178
+ run=gr.Button("Generate Images")
179
  with gr.Tab("Main"):
180
  with gr.Row():
181
  output1=gr.Image(label=(f"{current_model}"))
 
183
  output3=gr.Image(label=(f"{current_model}"))
184
  output4=gr.Image(label=(f"{current_model}"))
185
  with gr.Row():
186
+ magic1=gr.Prompt(lines=4)
187
+ magic2=gr.Prompt(lines=4)
188
+ magic3=gr.Prompt(lines=4)
189
+ magic4=gr.Prompt(lines=4)
190
  with gr.Row():
191
  output5=gr.Image(label=(f"{current_model}"))
192
  output6=gr.Image(label=(f"{current_model}"))
193
  output7=gr.Image(label=(f"{current_model}"))
194
  output8=gr.Image(label=(f"{current_model}"))
195
  with gr.Row():
196
+ magic5=gr.Prompt(lines=4)
197
+ magic6=gr.Prompt(lines=4)
198
+ magic7=gr.Prompt(lines=4)
199
+ magic8=gr.Prompt(lines=4)
200
 
201
  def short_prompt(inputs):
202
  return(inputs)