aalkaswan commited on
Commit
8ef424d
Β·
1 Parent(s): 0e39988

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def greet(name):
7
 
8
  model = SetFitModel.from_pretrained("aalkaswan/java-deprecation-classifier",
9
  device='cpu', #Use this if you don't have a GPU
10
- )
11
 
12
  def classify(text):
13
  return model(text)
 
7
 
8
  model = SetFitModel.from_pretrained("aalkaswan/java-deprecation-classifier",
9
  device='cpu', #Use this if you don't have a GPU
10
+ token=os.environ.get('sec_tok'))
11
 
12
  def classify(text):
13
  return model(text)