Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -753,20 +753,21 @@ with gr.Blocks(css=css) as myface:
|
|
753 |
|
754 |
with gr.Row():
|
755 |
with gr.Column():
|
|
|
|
|
756 |
magic1=gr.Textbox(lines=4)
|
757 |
with gr.Row():
|
758 |
run=gr.Button("Generate Image")
|
759 |
-
with gr.Row():
|
760 |
-
model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
|
761 |
with gr.Column():
|
762 |
-
|
763 |
-
use_short=gr.Button("Use Short Prompt")
|
764 |
-
see_prompts=gr.Button("Extend Idea")
|
765 |
#Model selection dropdown
|
766 |
|
767 |
-
with gr.Tab("
|
768 |
with gr.Row():
|
769 |
-
|
|
|
|
|
|
|
770 |
|
771 |
def short_prompt(inputs):
|
772 |
return(inputs)
|
|
|
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)
|
768 |
+
use_short=gr.Button("Use Short Prompt")
|
769 |
+
see_prompts=gr.Button("Extend Idea")
|
770 |
+
|
771 |
|
772 |
def short_prompt(inputs):
|
773 |
return(inputs)
|