Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -163,14 +163,16 @@ with gr.Blocks(css=css) as myface:
|
|
163 |
gr.ImagePaint(label="Draw", interactive=True)
|
164 |
|
165 |
with gr.Row():
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
|
|
|
|
174 |
with gr.Tab("Main"):
|
175 |
with gr.Row():
|
176 |
output1=gr.Image(label=(f"{current_model}"))
|
|
|
163 |
gr.ImagePaint(label="Draw", interactive=True)
|
164 |
|
165 |
with gr.Row():
|
166 |
+
with gr.Column(scale=100):
|
167 |
+
prompt=gr.Textbox(label="Prompt", show_label=False, lines=4,placeholder="[your prompt]").style(container=False)
|
168 |
+
run=gr.Button("Generate 8 Images")
|
169 |
+
with gr.Row():
|
170 |
+
with gr.Column(scale=100):
|
171 |
+
#Model selection dropdown
|
172 |
+
model_name1 = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", value=current_model, interactive=True)
|
173 |
+
with gr.Column():
|
174 |
+
use_short=gr.Button("Use Short Prompt")
|
175 |
+
see_prompts=gr.Button("Extend Idea")
|
176 |
with gr.Tab("Main"):
|
177 |
with gr.Row():
|
178 |
output1=gr.Image(label=(f"{current_model}"))
|