Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,9 @@ from PIL import Image
|
|
5 |
import spaces
|
6 |
from transformers import MllamaForConditionalGeneration, AutoProcessor
|
7 |
|
|
|
|
|
|
|
8 |
# Load the Llama 3.2 Vision Model
|
9 |
def load_llama_model():
|
10 |
model_id = "meta-llama/Llama-3.2-11B-Vision"
|
|
|
5 |
import spaces
|
6 |
from transformers import MllamaForConditionalGeneration, AutoProcessor
|
7 |
|
8 |
+
from huggingface_hub import login
|
9 |
+
login("HUGGINGFACE_API_TOKEN")
|
10 |
+
|
11 |
# Load the Llama 3.2 Vision Model
|
12 |
def load_llama_model():
|
13 |
model_id = "meta-llama/Llama-3.2-11B-Vision"
|