mimbres commited on
Commit
5f13d6e
·
verified ·
1 Parent(s): a0dc6f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -174,7 +174,7 @@ css = """
174
  100% {background-position: 0% 50%;}
175
  }
176
 
177
- #mylog {min-height: 200px; max-height: 200px}
178
 
179
 
180
  """
@@ -256,6 +256,6 @@ with gr.Blocks(theme=theme, css=css) as demo:
256
  play_video_button.click(play_video, inputs=youtube_url, outputs=youtube_player)
257
  with gr.Column(scale=1):
258
  # Logger
259
- Log(log_file, dark=True, xterm_font_size=12, elem_id='mylog1') # gradio-log
260
 
261
  demo.launch(debug=True)
 
174
  100% {background-position: 0% 50%;}
175
  }
176
 
177
+ #mylog {max-height: 80px}
178
 
179
 
180
  """
 
256
  play_video_button.click(play_video, inputs=youtube_url, outputs=youtube_player)
257
  with gr.Column(scale=1):
258
  # Logger
259
+ Log(log_file, tail=2, dark=True, xterm_font_size=12, elem_id='mylog1') # gradio-log
260
 
261
  demo.launch(debug=True)