jeradf commited on
Commit
fd17305
·
verified ·
1 Parent(s): 20b69e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ class ModelRunner:
64
  device_map="auto",
65
  )
66
  self.model.eval()
67
- self.thresh = get_thresh(revision)
68
 
69
  # Pull commonly used tokens, falling back gracefully if not present
70
  self.START_TOKEN_ID = self._tok_id("<|im_start|>")
 
64
  device_map="auto",
65
  )
66
  self.model.eval()
67
+ self.thresh = get_threshold(revision)
68
 
69
  # Pull commonly used tokens, falling back gracefully if not present
70
  self.START_TOKEN_ID = self._tok_id("<|im_start|>")