derek-thomas HF staff commited on
Commit
9a66c2f
1 Parent(s): 5d9e0b8

Fixing tabs

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -101,10 +101,10 @@ The only communication between `app` and `main` is the log file.
101
  with gr.Blocks() as demo:
102
  with gr.Tab("Application"):
103
  gr.Markdown(intro_md)
104
- gr.Image(proj_dir / 'media' / 'reddit_scraper.drawio.png')
105
- gr.Markdown("# Logs")
106
- output = gr.HTML(log_file_to_html_string, every=1)
107
- demo.load(None,
108
  _js="""
109
  () => {
110
  document.body.classList.toggle('dark');
 
101
  with gr.Blocks() as demo:
102
  with gr.Tab("Application"):
103
  gr.Markdown(intro_md)
104
+ gr.Image(proj_dir / 'media' / 'reddit_scraper.drawio.png')
105
+ gr.Markdown("# Logs")
106
+ output = gr.HTML(log_file_to_html_string, every=1)
107
+ demo.load(None,
108
  _js="""
109
  () => {
110
  document.body.classList.toggle('dark');