Aashi commited on
Commit
ad3273c
·
verified ·
1 Parent(s): 0d4f807

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -13,6 +13,9 @@ import torch
13
  from PIL import Image
14
  from transformers import MllamaForConditionalGeneration, AutoProcessor
15
 
 
 
 
16
  # Load the Llama 3.2 Vision Model
17
  def load_llama_model():
18
  model_id = "meta-llama/Llama-3.2-11B-Vision"
 
13
  from PIL import Image
14
  from transformers import MllamaForConditionalGeneration, AutoProcessor
15
 
16
+ from huggingface_hub import login
17
+ login("HUGGINGFACE_API_TOKEN")
18
+
19
  # Load the Llama 3.2 Vision Model
20
  def load_llama_model():
21
  model_id = "meta-llama/Llama-3.2-11B-Vision"