derek-thomas HF staff commited on
Commit
24c9f40
1 Parent(s): b65cbe6

Making the app more clear

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -35,15 +35,16 @@ def log_file_to_html_string():
35
 
36
  markdown = f"""
37
  # Reddit Scraper
38
- This is a reddit scraper which builds [{dataset_name}](https://huggingface.co/datasets/{dataset_name}).
39
 
40
- As shown below this space pulls data from reddit via [PRAW](https://praw.readthedocs.io/en/stable/), processes it, and puts it in a corresponding dataset.
41
  """
42
 
43
  with gr.Blocks() as demo:
44
  gr.Markdown(markdown)
45
  gr.Image(proj_dir / 'media' / 'reddit_scraper.drawio.png')
46
  output = gr.HTML(log_file_to_html_string, every=1)
 
47
  demo.load(None,
48
  _js="""
49
  () => {
 
35
 
36
  markdown = f"""
37
  # Reddit Scraper
38
+ This is a reddit scraper which builds and updates [{dataset_name}](https://huggingface.co/datasets/{dataset_name}). Check the README for more details.
39
 
40
+ As shown in the below diagram this space pulls data from reddit via [PRAW](https://praw.readthedocs.io/en/stable/), processes it, and puts it in a corresponding dataset.
41
  """
42
 
43
  with gr.Blocks() as demo:
44
  gr.Markdown(markdown)
45
  gr.Image(proj_dir / 'media' / 'reddit_scraper.drawio.png')
46
  output = gr.HTML(log_file_to_html_string, every=1)
47
+ gr.Markdown("# Logs")
48
  demo.load(None,
49
  _js="""
50
  () => {