Yntec commited on
Commit
be0f619
1 Parent(s): a45b65b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -16
app.py CHANGED
@@ -751,25 +751,23 @@ with gr.Blocks(css=css) as myface:
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):
 
751
  with gr.Column(scale=50):
752
  gr.ImagePaint(label="Draw", interactive=True)
753
  with gr.Row():
754
+ with gr.Column(scale=100):
755
+ magic1=gr.Textbox(lines=4)
756
+ run=gr.Button("Generate Image")
 
757
  with gr.Row():
758
+ with gr.Column(scale=100):
759
+ #Model selection dropdown
760
+ model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
761
  with gr.Row():
762
+ with gr.Column(style="width=800px"):
763
+ output1=gr.Image(label=(f"{current_model}"))
764
+
765
+
766
  with gr.Row():
767
+ with gr.Column(scale=50):
768
+ input_text=gr.Textbox(label="Prompt Idea",lines=2)
769
+ use_short=gr.Button("Use Short Prompt")
770
+ see_prompts=gr.Button("Extend Idea")
 
771
 
772
 
773
  def short_prompt(inputs):