Rooni commited on
Commit
f7cd0b6
1 Parent(s): b0a99da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -82,6 +82,7 @@ def query(prompt, model, is_negative=False, steps=30, cfg_scale=7, sampler="DPM+
82
  css = """
83
  * {}
84
  footer {visibility: hidden !important;}
 
85
  """
86
 
87
  with gr.Blocks(css=css) as dalle:
@@ -110,7 +111,7 @@ with gr.Blocks(css=css) as dalle:
110
  with gr.Row():
111
  text_button = gr.Button("Генерация", variant='primary', elem_id="gen-button")
112
  with gr.Row():
113
- image_output = gr.Image(type="pil", label="Изображение", elem_id="gallery", share=False)
114
 
115
  text_button.click(query, inputs=[text_prompt, model, negative_prompt, steps, cfg, method, seed], outputs=image_output)
116
 
 
82
  css = """
83
  * {}
84
  footer {visibility: hidden !important;}
85
+ .output-share { display: none !important;
86
  """
87
 
88
  with gr.Blocks(css=css) as dalle:
 
111
  with gr.Row():
112
  text_button = gr.Button("Генерация", variant='primary', elem_id="gen-button")
113
  with gr.Row():
114
+ image_output = gr.Image(type="pil", label="Изображение", elem_id="gallery")
115
 
116
  text_button.click(query, inputs=[text_prompt, model, negative_prompt, steps, cfg, method, seed], outputs=image_output)
117