derek-thomas HF staff commited on
Commit
99dbf0f
1 Parent(s): 93595da

Fixing test vars

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -7,8 +7,8 @@ from rich.syntax import Syntax
7
 
8
  proj_dir = Path(__name__).parent
9
 
10
- subreddit = 'test' or os.environ["SUBREDDIT"]
11
- username = 'test' or os.environ["USERNAME"]
12
  dataset_name = f"{username}/dataset-creator-{subreddit}"
13
 
14
 
@@ -34,7 +34,7 @@ As shown below this space pulls data from pushshift.io, processes it, and puts i
34
 
35
  with gr.Blocks() as demo:
36
  gr.Markdown(markdown)
37
- gr.Image(proj_dir/'media'/'reddit_scraper.drawio.png')
38
  output = gr.HTML(log_file_to_html_string, every=1)
39
  demo.load(None,
40
  _js="""
 
7
 
8
  proj_dir = Path(__name__).parent
9
 
10
+ subreddit = os.environ["SUBREDDIT"]
11
+ username = os.environ["USERNAME"]
12
  dataset_name = f"{username}/dataset-creator-{subreddit}"
13
 
14
 
 
34
 
35
  with gr.Blocks() as demo:
36
  gr.Markdown(markdown)
37
+ gr.Image(proj_dir / 'media' / 'reddit_scraper.drawio.png')
38
  output = gr.HTML(log_file_to_html_string, every=1)
39
  demo.load(None,
40
  _js="""