paragon-analytics commited on
Commit
6458255
·
1 Parent(s): a4c7eed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -127,7 +127,7 @@ with gr.Blocks(title=title) as demo:
127
  [label,impplot,NER], api_name="ResText"
128
  )
129
 
130
- gr.Markdown("### Click on any of the examples below to see how it works:")
131
- gr.Examples([["Please stay at home and avoid unnecessary trips."],["Please stay at home and avoid unnecessary trips. We will survive this."],["We will survive this."],["Watch today’s news briefing with the latest updates on COVID-19 in Connecticut."],["So let's keep doing what we know works. Let's stay strong, and let's beat this virus. I know we can, and I know we can come out stronger on the other side."]], [prob1], [label,impplot,NER], main, cache_examples=True)
132
 
133
  demo.launch()
 
127
  [label,impplot,NER], api_name="ResText"
128
  )
129
 
130
+ gr.Markdown("### Click on any of the examples below to see if they contain resilience messaging or not:")
131
+ gr.Examples([["Please stay at home and avoid unnecessary trips."],["Please stay at home and avoid unnecessary trips. We will survive this."],["We will survive this."],["Watch today’s news briefing with the latest updates on COVID-19 in Connecticut."],["So let's keep doing what we know works. Let's stay strong, and let's beat this virus. I know we can, and I know we can come out stronger on the other side."],["It is really wonderful how much resilience there is in human nature. Let any obstructing cause, no matter what, be removed in any way, even by death, and we fly back to first principles of hope and enjoyment."],["Resilience is accepting your new reality, even if it’s less good than the one you had before. You can fight it, you can do nothing but scream about what you’ve lost, or you can accept that and try to put together something that’s good."]], [prob1], [label,impplot,NER], main, cache_examples=True)
132
 
133
  demo.launch()