Gilvan commited on
Commit
bc913cb
1 Parent(s): faf97a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ from transformers import AutoFeatureExtractor, AutoTokenizer, VisionEncoderDecod
4
  import os
5
 
6
  device = 'cpu'
7
- access_token = os.getenv("auth_token")
 
8
 
9
  max_length = 100
10
  num_beams = 4
 
4
  import os
5
 
6
  device = 'cpu'
7
+ #access_token = os.getenv("auth_token")
8
+ access_token = os.environ.get("auth_token")
9
 
10
  max_length = 100
11
  num_beams = 4