inoki-giskard commited on
Commit
6fb078e
1 Parent(s): ba025b4

Use textbox to get logs

Browse files
Files changed (1) hide show
  1. app_debug.py +3 -2
app_debug.py CHANGED
@@ -56,7 +56,8 @@ def get_demo(demo):
56
  every=5,
57
  )
58
  with gr.Accordion(label="Log Files", open=False):
59
- logs = gr.Textbox(lines=10, visible=True, label="Log File")
60
- demo.load(get_logs_file, None, logs, every=0.5)
 
61
  with gr.Accordion(label="Config Files", open=False):
62
  gr.Files(value=get_config_files, label="Config Files", every=10)
 
56
  every=5,
57
  )
58
  with gr.Accordion(label="Log Files", open=False):
59
+ gr.Textbox(
60
+ value=get_logs_file, every=0.5, lines=10, visible=True, label="Log File"
61
+ )
62
  with gr.Accordion(label="Config Files", open=False):
63
  gr.Files(value=get_config_files, label="Config Files", every=10)