Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,12 +42,12 @@ with gr.Blocks(css=css) as dalle:
|
|
| 42 |
with gr.Tab("Базовые настройки"):
|
| 43 |
with gr.Row():
|
| 44 |
with gr.Column(elem_id="prompt-container"):
|
| 45 |
-
text_prompt = gr.Textbox(label="Prompt", placeholder="Описание изображения", lines=
|
| 46 |
model = gr.Radio(label="Модель", value="DALL-E 3 XL", choices=["DALL-E 3 XL"])
|
| 47 |
|
| 48 |
|
| 49 |
with gr.Tab("Расширенные настройки"):
|
| 50 |
-
negative_prompt = gr.Textbox(label="Negative Prompt", placeholder="Чего не должно быть на изображении", value="[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness", lines=
|
| 51 |
|
| 52 |
with gr.Row():
|
| 53 |
text_button = gr.Button("Генерация", variant='primary', elem_id="gen-button")
|
|
|
|
| 42 |
with gr.Tab("Базовые настройки"):
|
| 43 |
with gr.Row():
|
| 44 |
with gr.Column(elem_id="prompt-container"):
|
| 45 |
+
text_prompt = gr.Textbox(label="Prompt", placeholder="Описание изображения", lines=3, elem_id="prompt-text-input")
|
| 46 |
model = gr.Radio(label="Модель", value="DALL-E 3 XL", choices=["DALL-E 3 XL"])
|
| 47 |
|
| 48 |
|
| 49 |
with gr.Tab("Расширенные настройки"):
|
| 50 |
+
negative_prompt = gr.Textbox(label="Negative Prompt", placeholder="Чего не должно быть на изображении", value="[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry, text, fuzziness", lines=3, elem_id="negative-prompt-text-input")
|
| 51 |
|
| 52 |
with gr.Row():
|
| 53 |
text_button = gr.Button("Генерация", variant='primary', elem_id="gen-button")
|