yabramuvdi commited on
Commit
606df3d
1 Parent(s): 21c63b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -24,13 +24,13 @@ description = "This page lets users test the __Work-from-Home Algorithmic Measur
24
 
25
  article = "Test" # text at the end of the app
26
 
27
- #examples = [
28
- #["We are looking for a Deputy Home Manager with domiciliary care experience to join our company. You will work from home care facilities with a strong track record of quality service.", 0.5],
29
- #["We are open to discussing flexible working arrangements and encourage our people to explore new ways of working - including part-time, job-share or \textbf{working from different locations}. Everyone can ask about it.", 0.5],
30
- #["We see the value in work-life balance, many of us take full advantage of our flexible working arrangements, so whether you like to get a surf in before work, like to head home in time to pick up the kids or you just like working from the comfort of your own home now and then, we want to support you.", 0.5],
31
- #["The ideal candidate is comfortable in working in remote northern Alberta in the town Peace River, High Level and Fairview.", 0.5],
32
- #["With a hybrid mix of time at home as well as our corporate office, this role will suit an analytical, process orientated and people focused payroll professional who thrives in a fast-paced environment.", 0.5]
33
- #]
34
 
35
  #%%
36
 
@@ -61,7 +61,7 @@ app = gr.Interface(fn=[predict_wfh],
61
  title=title,
62
  description=description,
63
  article=article,
64
- #examples=examples,
65
  allow_flagging="manual",
66
  flagging_options=["mistake"],
67
  flagging_callback=hf_saver
 
24
 
25
  article = "Test" # text at the end of the app
26
 
27
+ examples = [
28
+ ["We are looking for a Deputy Home Manager with domiciliary care experience to join our company. You will work from home care facilities with a strong track record of quality service.", 0.5],
29
+ ["We are open to discussing flexible working arrangements and encourage our people to explore new ways of working - including part-time, job-share or \textbf{working from different locations}. Everyone can ask about it.", 0.5],
30
+ ["We see the value in work-life balance, many of us take full advantage of our flexible working arrangements, so whether you like to get a surf in before work, like to head home in time to pick up the kids or you just like working from the comfort of your own home now and then, we want to support you.", 0.5],
31
+ ["The ideal candidate is comfortable in working in remote northern Alberta in the town Peace River, High Level and Fairview.", 0.5],
32
+ ["With a hybrid mix of time at home as well as our corporate office, this role will suit an analytical, process orientated and people focused payroll professional who thrives in a fast-paced environment.", 0.5]
33
+ ]
34
 
35
  #%%
36
 
 
61
  title=title,
62
  description=description,
63
  article=article,
64
+ examples=examples,
65
  allow_flagging="manual",
66
  flagging_options=["mistake"],
67
  flagging_callback=hf_saver