Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from PIL import Image
|
|
5 |
import spaces
|
6 |
from transformers import MllamaForConditionalGeneration, AutoProcessor
|
7 |
import os
|
|
|
8 |
|
9 |
huggingface_token = os.getenv("SECRET_ENV_VARIABLE")
|
10 |
login(huggingface_token)
|
|
|
5 |
import spaces
|
6 |
from transformers import MllamaForConditionalGeneration, AutoProcessor
|
7 |
import os
|
8 |
+
from huggingface_hub import login
|
9 |
|
10 |
huggingface_token = os.getenv("SECRET_ENV_VARIABLE")
|
11 |
login(huggingface_token)
|