Yntec commited on
Commit
2ad08bd
1 Parent(s): 67e6ec7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -753,20 +753,21 @@ with gr.Blocks(css=css) as myface:
753
 
754
  with gr.Row():
755
  with gr.Column():
 
 
756
  magic1=gr.Textbox(lines=4)
757
  with gr.Row():
758
  run=gr.Button("Generate Image")
759
- with gr.Row():
760
- model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
761
  with gr.Column():
762
- input_text=gr.Textbox(label="Prompt Idea",lines=2)
763
- use_short=gr.Button("Use Short Prompt")
764
- see_prompts=gr.Button("Extend Idea")
765
  #Model selection dropdown
766
 
767
- with gr.Tab("Main"):
768
  with gr.Row():
769
- output1=gr.Image(label=(f"{current_model}"))
 
 
 
770
 
771
  def short_prompt(inputs):
772
  return(inputs)
 
753
 
754
  with gr.Row():
755
  with gr.Column():
756
+ model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
757
+ with gr.Row():
758
  magic1=gr.Textbox(lines=4)
759
  with gr.Row():
760
  run=gr.Button("Generate Image")
 
 
761
  with gr.Column():
762
+ output1=gr.Image(label=(f"{current_model}"))
 
 
763
  #Model selection dropdown
764
 
765
+ with gr.Tab("Magic Prompt"):
766
  with gr.Row():
767
+ input_text=gr.Textbox(label="Prompt Idea",lines=2)
768
+ use_short=gr.Button("Use Short Prompt")
769
+ see_prompts=gr.Button("Extend Idea")
770
+
771
 
772
  def short_prompt(inputs):
773
  return(inputs)