Aashi commited on
Commit
ab61449
·
verified ·
1 Parent(s): 990b753

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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"