Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ css = """
|
|
174 |
100% {background-position: 0% 50%;}
|
175 |
}
|
176 |
|
177 |
-
#mylog {
|
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)
|