Emily McMilin commited on
Commit
c4df96b
1 Parent(s): d0bb39d

More typo and document fixes

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -365,13 +365,14 @@ with demo:
365
  gr.Markdown("3) Repeat steps (1) and (2) with more pre-populated inputs or with your own values in the input fields!")
366
 
367
  gr.Markdown("### Example inputs")
 
368
  with gr.Row():
369
  gr.Markdown("X-axis sorted by older to more recent dates:")
370
- place_gen = gr.Button('Click for country example inputs')
371
 
372
  gr.Markdown(
373
  "X-axis sorted by bottom 10 and top 10 [Global Gender Gap](https://www3.weforum.org/docs/WEF_GGGR_2021.pdf) ranked countries by World Economic Forum in 2021:")
374
- date_gen = gr.Button('Click for date example inputs')
375
 
376
  gr.Markdown(
377
  "X-axis sorted in order of increasing self-identified female participation (see [bburky demo](http://bburky.com/subredditgenderratios/)): ")
@@ -486,8 +487,8 @@ with demo:
486
  </center>
487
  """)
488
 
489
- gr.Markdown("There may be misassumptions in our DAG above, which you can explore below.")
490
- gr.Markdown("Or you may be interested in applying this demo to your own model of interest. This demo _should_ work with any Hugging Face model that supports the [fill-mask](https://huggingface.co/models?pipeline_tag=fill-mask) task.")
491
 
492
  demo.launch(debug=True)
493
 
 
365
  gr.Markdown("3) Repeat steps (1) and (2) with more pre-populated inputs or with your own values in the input fields!")
366
 
367
  gr.Markdown("### Example inputs")
368
+ gr.Markdown("Click a button below to pre-populate input fields with example values. Then scroll down to Hit Submit to generate predictions.")
369
  with gr.Row():
370
  gr.Markdown("X-axis sorted by older to more recent dates:")
371
+ date_gen = gr.Button('Click for date example inputs')
372
 
373
  gr.Markdown(
374
  "X-axis sorted by bottom 10 and top 10 [Global Gender Gap](https://www3.weforum.org/docs/WEF_GGGR_2021.pdf) ranked countries by World Economic Forum in 2021:")
375
+ place_gen = gr.Button('Click for country example inputs')
376
 
377
  gr.Markdown(
378
  "X-axis sorted in order of increasing self-identified female participation (see [bburky demo](http://bburky.com/subredditgenderratios/)): ")
 
487
  </center>
488
  """)
489
 
490
+ gr.Markdown("There may be misassumptions in our DAG above, which you can explore above. Please contribute any corrections or new examples of interest!")
491
+ gr.Markdown("You may also be interested in applying this demo to your own model of interest. This demo _should_ work with any Hugging Face model that supports the [fill-mask](https://huggingface.co/models?pipeline_tag=fill-mask) task.")
492
 
493
  demo.launch(debug=True)
494