Yntec commited on
Commit
a45b65b
1 Parent(s): 5615a4b

Update app.py

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