Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -753,15 +753,16 @@ with gr.Blocks(css=css) as myface:
|
|
753 |
|
754 |
with gr.Row():
|
755 |
with gr.Column():
|
756 |
-
|
757 |
-
|
758 |
-
model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
|
759 |
with gr.Column():
|
|
|
|
|
|
|
760 |
use_short=gr.Button("Use Short Prompt")
|
761 |
see_prompts=gr.Button("Extend Idea")
|
762 |
-
|
763 |
-
|
764 |
-
run=gr.Button("Generate Image")
|
765 |
with gr.Tab("Main"):
|
766 |
with gr.Row():
|
767 |
output1=gr.Image(label=(f"{current_model}"))
|
|
|
753 |
|
754 |
with gr.Row():
|
755 |
with gr.Column():
|
756 |
+
magic1=gr.Textbox(lines=4)
|
757 |
+
run=gr.Button("Generate Image")
|
|
|
758 |
with gr.Column():
|
759 |
+
model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
|
760 |
+
with gr.Row():
|
761 |
+
input_text=gr.Textbox(label="Prompt Idea",lines=2)
|
762 |
use_short=gr.Button("Use Short Prompt")
|
763 |
see_prompts=gr.Button("Extend Idea")
|
764 |
+
#Model selection dropdown
|
765 |
+
|
|
|
766 |
with gr.Tab("Main"):
|
767 |
with gr.Row():
|
768 |
output1=gr.Image(label=(f"{current_model}"))
|