Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -169,13 +169,13 @@ with gr.Blocks(css=css) as myface:
|
|
| 169 |
|
| 170 |
with gr.Row():
|
| 171 |
with gr.Column():
|
| 172 |
-
input_text=gr.Textbox(label="
|
| 173 |
#Model selection dropdown
|
| 174 |
model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
|
| 175 |
with gr.Column():
|
| 176 |
use_short=gr.Button("Use Short Prompt")
|
| 177 |
-
see_prompts=gr.Button("
|
| 178 |
-
run=gr.Button("
|
| 179 |
with gr.Tab("Main"):
|
| 180 |
with gr.Row():
|
| 181 |
output1=gr.Image(label=(f"{current_model}"))
|
|
@@ -183,20 +183,20 @@ with gr.Blocks(css=css) as myface:
|
|
| 183 |
output3=gr.Image(label=(f"{current_model}"))
|
| 184 |
output4=gr.Image(label=(f"{current_model}"))
|
| 185 |
with gr.Row():
|
| 186 |
-
magic1=gr.
|
| 187 |
-
magic2=gr.
|
| 188 |
-
magic3=gr.
|
| 189 |
-
magic4=gr.
|
| 190 |
with gr.Row():
|
| 191 |
output5=gr.Image(label=(f"{current_model}"))
|
| 192 |
output6=gr.Image(label=(f"{current_model}"))
|
| 193 |
output7=gr.Image(label=(f"{current_model}"))
|
| 194 |
output8=gr.Image(label=(f"{current_model}"))
|
| 195 |
with gr.Row():
|
| 196 |
-
magic5=gr.
|
| 197 |
-
magic6=gr.
|
| 198 |
-
magic7=gr.
|
| 199 |
-
magic8=gr.
|
| 200 |
|
| 201 |
def short_prompt(inputs):
|
| 202 |
return(inputs)
|
|
|
|
| 169 |
|
| 170 |
with gr.Row():
|
| 171 |
with gr.Column():
|
| 172 |
+
input_text=gr.Textbox(label="Prompt Idea",lines=2)
|
| 173 |
#Model selection dropdown
|
| 174 |
model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
|
| 175 |
with gr.Column():
|
| 176 |
use_short=gr.Button("Use Short Prompt")
|
| 177 |
+
see_prompts=gr.Button("Extend Idea")
|
| 178 |
+
run=gr.Button("Generate Images")
|
| 179 |
with gr.Tab("Main"):
|
| 180 |
with gr.Row():
|
| 181 |
output1=gr.Image(label=(f"{current_model}"))
|
|
|
|
| 183 |
output3=gr.Image(label=(f"{current_model}"))
|
| 184 |
output4=gr.Image(label=(f"{current_model}"))
|
| 185 |
with gr.Row():
|
| 186 |
+
magic1=gr.Prompt(lines=4)
|
| 187 |
+
magic2=gr.Prompt(lines=4)
|
| 188 |
+
magic3=gr.Prompt(lines=4)
|
| 189 |
+
magic4=gr.Prompt(lines=4)
|
| 190 |
with gr.Row():
|
| 191 |
output5=gr.Image(label=(f"{current_model}"))
|
| 192 |
output6=gr.Image(label=(f"{current_model}"))
|
| 193 |
output7=gr.Image(label=(f"{current_model}"))
|
| 194 |
output8=gr.Image(label=(f"{current_model}"))
|
| 195 |
with gr.Row():
|
| 196 |
+
magic5=gr.Prompt(lines=4)
|
| 197 |
+
magic6=gr.Prompt(lines=4)
|
| 198 |
+
magic7=gr.Prompt(lines=4)
|
| 199 |
+
magic8=gr.Prompt(lines=4)
|
| 200 |
|
| 201 |
def short_prompt(inputs):
|
| 202 |
return(inputs)
|