Spaces:
Nymbo
/
Running on CPU Upgrade

Rooni commited on
Commit
ccf7d79
1 Parent(s): 13ed995

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=1, 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=1, elem_id="negative-prompt-text-input")
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")