twigs commited on
Commit
c47b01d
1 Parent(s): b48a5e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def main():
85
 
86
  default_values = [0.8, 0.6, 0.9, 0.8, 0.9, 1.9]
87
  user_values = default_values
88
- tok_values = dict((t, default_values[idx]) for idx, t in enumerate(tokens))
89
 
90
  example_sentences = ["A matchbook is a small cardboard folder (matchcover) enclosing a quantity of matches and having a coarse striking surface on the exterior.",
91
  "If there are no strong land use controls, buildings are built along a bypass, converting it into an ordinary town road, and the bypass may eventually become as congested as the local streets it was intended to avoid.",
 
85
 
86
  default_values = [0.8, 0.6, 0.9, 0.8, 0.9, 1.9]
87
  user_values = default_values
88
+ tok_values = dict((t, default_values[idx]) for idx, t in enumerate(base_tokens))
89
 
90
  example_sentences = ["A matchbook is a small cardboard folder (matchcover) enclosing a quantity of matches and having a coarse striking surface on the exterior.",
91
  "If there are no strong land use controls, buildings are built along a bypass, converting it into an ordinary town road, and the bypass may eventually become as congested as the local streets it was intended to avoid.",