Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|