Sebastiankay commited on
Commit
5da4472
1 Parent(s): f65bcd2

Sep 10, 2024, 3:42 PM

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -200,12 +200,13 @@ with gr.Blocks(theme=theme, head=custom_head, css=custom_css, js=custom_js, titl
200
  image_info_tb_height = gr.Textbox(label="Höhe", lines=1, max_lines=1, interactive=False, show_copy_button=True, elem_classes="image-info-tb-height")
201
  with gr.Row(elem_classes="img-seed-wrapper"):
202
  image_info_tb_seed = gr.Textbox(label="Seed", lines=1, max_lines=1, interactive=False, show_copy_button=True, elem_classes="image-info-tb-seed")
203
- image_info_tb_prompt = gr.Textbox("Bild Prompt", lines=4, max_lines=8, interactive=False, show_copy_button=True, visible=True)
204
  image_download_button = gr.DownloadButton("Bild herunterladen", value=None, elem_classes="download-button", variant="primary", visible=False)
205
 
206
  output_url = gr.Textbox(label="Output URL", show_label=True, interactive=False, visible=False)
207
  outpu_image_comment = gr.Json(visible=False)
208
  output_dominant_image_color = gr.Textbox(show_label=False, elem_id="dominant_image_color", visible=True, elem_classes="output-dominant-image-color")
 
209
  random_promp_output = gr.Textbox(show_label=False, elem_id="random_promp_output", elem_classes="random_promp_output", visible=True, interactive=False)
210
 
211
  def switch_image_size_values(image_width, image_height):
 
200
  image_info_tb_height = gr.Textbox(label="Höhe", lines=1, max_lines=1, interactive=False, show_copy_button=True, elem_classes="image-info-tb-height")
201
  with gr.Row(elem_classes="img-seed-wrapper"):
202
  image_info_tb_seed = gr.Textbox(label="Seed", lines=1, max_lines=1, interactive=False, show_copy_button=True, elem_classes="image-info-tb-seed")
203
+ # image_info_tb_prompt = gr.Textbox("Bild Prompt", lines=4, max_lines=8, interactive=False, show_copy_button=True, visible=True)
204
  image_download_button = gr.DownloadButton("Bild herunterladen", value=None, elem_classes="download-button", variant="primary", visible=False)
205
 
206
  output_url = gr.Textbox(label="Output URL", show_label=True, interactive=False, visible=False)
207
  outpu_image_comment = gr.Json(visible=False)
208
  output_dominant_image_color = gr.Textbox(show_label=False, elem_id="dominant_image_color", visible=True, elem_classes="output-dominant-image-color")
209
+ image_info_tb_prompt = gr.Textbox("Bild Prompt", lines=4, max_lines=8, interactive=False, show_copy_button=True, visible=True)
210
  random_promp_output = gr.Textbox(show_label=False, elem_id="random_promp_output", elem_classes="random_promp_output", visible=True, interactive=False)
211
 
212
  def switch_image_size_values(image_width, image_height):