Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -233,12 +233,12 @@ with gr.Blocks(css=css) as demo:
|
|
233 |
current_model = gr.Dropdown(label="Current Model", choices=list_models, value=DEFAULT_MODEL)
|
234 |
|
235 |
with gr.Row("prompt-container"):
|
236 |
-
text_prompt = gr.Textbox(label="Prompt", placeholder="a cute dog",
|
237 |
value = DEFAULT_PROMPT,
|
238 |
lines=2, elem_id="prompt-text-input")
|
239 |
text_button = gr.Button("Manualy input Generate", variant='primary', elem_id="gen-button")
|
240 |
with gr.Row("prompt-container"):
|
241 |
-
select_prompt = gr.Dropdown(label="
|
242 |
value = "1girl, aqua eyes, baseball cap, blonde hair, closed mouth, earrings, green background, hat, hoop earrings, jewelry, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt"
|
243 |
)
|
244 |
select_button = gr.Button("Select Prompt Generate", variant='primary', elem_id="gen-button")
|
|
|
233 |
current_model = gr.Dropdown(label="Current Model", choices=list_models, value=DEFAULT_MODEL)
|
234 |
|
235 |
with gr.Row("prompt-container"):
|
236 |
+
text_prompt = gr.Textbox(label="Input Prompt", placeholder="a cute dog",
|
237 |
value = DEFAULT_PROMPT,
|
238 |
lines=2, elem_id="prompt-text-input")
|
239 |
text_button = gr.Button("Manualy input Generate", variant='primary', elem_id="gen-button")
|
240 |
with gr.Row("prompt-container"):
|
241 |
+
select_prompt = gr.Dropdown(label="Prompt selected", choices=list_prompts,
|
242 |
value = "1girl, aqua eyes, baseball cap, blonde hair, closed mouth, earrings, green background, hat, hoop earrings, jewelry, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt"
|
243 |
)
|
244 |
select_button = gr.Button("Select Prompt Generate", variant='primary', elem_id="gen-button")
|