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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -12
app.py CHANGED
@@ -750,18 +750,17 @@ with gr.Blocks(css=css) as myface:
750
 
751
  with gr.Column(scale=50):
752
  gr.ImagePaint(label="Draw", interactive=True)
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)
 
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)