Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
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)
|