yabramuvdi commited on
Commit
d792800
·
1 Parent(s): 7e1edbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -20,7 +20,7 @@ classifier = TextClassificationPipeline(model=model,
20
 
21
  # basic elements of page
22
  title = "Remote Work Detection Application"
23
- description = "This page allows users to interact with the __Work-from-Home Algorithmic Measurement (WHAM)__ model developed in the paper _“Remote Work across Jobs, Companies, and Space” (Hansen, Lambert, Bloom, Davis, Sadun & Taska, 2023)_. It is maintained by Yabra Muvdi, who works as a pre-doctoral researcher for Professor Hansen.\n\nThe application allows users to input any arbitrary text and computes the predicted probability of the text exhibiting the possibility of remote work. Users can also flag any examples that are incorrectly classified by the model. This is simply done by clicking on the _“Flag”_ button and then selecting _“mistake”_."
24
 
25
  article = "" # text at the end of the app
26
 
@@ -68,5 +68,4 @@ app = gr.Interface(fn=predict_wfh,
68
  )
69
 
70
  #app.launch(auth=("yabra", "wfh123"), auth_message="Authentication Problem")
71
- app.launch()
72
-
 
20
 
21
  # basic elements of page
22
  title = "Remote Work Detection Application"
23
+ description = "This page allows users to interact with the __Work-from-Home Algorithmic Measurement (WHAM)__ model developed in the paper [_“Remote Work across Jobs, Companies, and Space” (Hansen, Lambert, Bloom, Davis, Sadun & Taska, 2023)_](https://wfhmap.com/). It is maintained by Yabra Muvdi, who works as a pre-doctoral researcher for Professor Hansen.\n\nThe application allows users to input any arbitrary text and computes the predicted probability of the text exhibiting the possibility of remote work. Users can also flag any examples that are incorrectly classified by the model. This is simply done by clicking on the _“Flag”_ button and then selecting _“mistake”_."
24
 
25
  article = "" # text at the end of the app
26
 
 
68
  )
69
 
70
  #app.launch(auth=("yabra", "wfh123"), auth_message="Authentication Problem")
71
+ app.launch()