huzey commited on
Commit
fe0a89a
1 Parent(s): bbe594c

improve logging UI

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1465,7 +1465,7 @@ with demo:
1465
  input_gallery, submit_button, clear_images_button = make_input_images_section()
1466
  dataset_dropdown, num_images_slider, random_seed_slider, load_images_button = make_dataset_images_section()
1467
  num_images_slider.value = 30
1468
- logging_text = gr.Textbox("Logging information", label="Logging", elem_id="logging", type="text", placeholder="Logging information", autofocus=False, autoscroll=False)
1469
 
1470
  with gr.Column(scale=5, min_width=200):
1471
  output_gallery = make_output_images_section()
@@ -1643,7 +1643,7 @@ with demo:
1643
  dataset_dropdown, num_images_slider, random_seed_slider, load_images_button = make_dataset_images_section(advanced=True)
1644
  num_images_slider.value = 100
1645
  clear_images_button.visible = False
1646
- logging_text = gr.Textbox("Logging information", label="Logging", elem_id="logging", type="text", placeholder="Logging information")
1647
  with gr.Column(scale=5, min_width=200):
1648
  gr.Markdown('### Output (Recursion #1)')
1649
  l1_gallery = gr.Gallery(format='png', value=[], label="Recursion #1", show_label=True, elem_id="ncut_l1", columns=[3], rows=[5], object_fit="contain", height="auto", show_fullscreen_button=True, interactive=False)
 
1465
  input_gallery, submit_button, clear_images_button = make_input_images_section()
1466
  dataset_dropdown, num_images_slider, random_seed_slider, load_images_button = make_dataset_images_section()
1467
  num_images_slider.value = 30
1468
+ logging_text = gr.Textbox("Logging information", label="Logging", elem_id="logging", type="text", placeholder="Logging information", autofocus=False, autoscroll=False, lines=20)
1469
 
1470
  with gr.Column(scale=5, min_width=200):
1471
  output_gallery = make_output_images_section()
 
1643
  dataset_dropdown, num_images_slider, random_seed_slider, load_images_button = make_dataset_images_section(advanced=True)
1644
  num_images_slider.value = 100
1645
  clear_images_button.visible = False
1646
+ logging_text = gr.Textbox("Logging information", label="Logging", elem_id="logging", type="text", placeholder="Logging information", lines=20)
1647
  with gr.Column(scale=5, min_width=200):
1648
  gr.Markdown('### Output (Recursion #1)')
1649
  l1_gallery = gr.Gallery(format='png', value=[], label="Recursion #1", show_label=True, elem_id="ncut_l1", columns=[3], rows=[5], object_fit="contain", height="auto", show_fullscreen_button=True, interactive=False)