mrosinski commited on
Commit
3d2729a
1 Parent(s): 60e56d7

reversed order of labels

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ from fastai.text.all import *
3
  from fastai.imports import *
4
 
5
  learn = load_learner('lstm_clean.pkl')
6
- labels = ['Low','High']
7
 
8
  article = '''<img src="https://corporateweb-v3-corporatewebv3damstrawebassetbuck-1lruglqypgb84.s3-ap-southeast-2.amazonaws.com/public/cta-2.jpg"/> '''
9
  examples = [
@@ -13,7 +13,7 @@ A truck narrowly missed a person on a bicycle when they were reversing out of th
13
  '''],
14
  [
15
  '''
16
- When making a coffee I noticed the cord to the coffee machine was frayed and tagged it out of serivce. Now I need to find a barista!'''],
17
  [
18
  '''
19
  A worker was using a grinder in a confined space when he became dizzy from the fumes in the area and had to be helped out. The gas monitor he was using was found to be faulty and when the area was assessed with another monitor there was an unacceptably high level of CO2 in the area''']]
 
3
  from fastai.imports import *
4
 
5
  learn = load_learner('lstm_clean.pkl')
6
+ labels = ['High', 'Low']
7
 
8
  article = '''<img src="https://corporateweb-v3-corporatewebv3damstrawebassetbuck-1lruglqypgb84.s3-ap-southeast-2.amazonaws.com/public/cta-2.jpg"/> '''
9
  examples = [
 
13
  '''],
14
  [
15
  '''
16
+ When making a coffee I noticed the cord to the coffee machine was frayed and tagged it out of service. Now I need to find a barista!'''],
17
  [
18
  '''
19
  A worker was using a grinder in a confined space when he became dizzy from the fumes in the area and had to be helped out. The gas monitor he was using was found to be faulty and when the area was assessed with another monitor there was an unacceptably high level of CO2 in the area''']]