Aashi commited on
Commit
4ba32da
1 Parent(s): ecebb24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -4,6 +4,10 @@ import torch
4
  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():
 
4
  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)
11
 
12
  # Load the Llama 3.2 Vision Model
13
  def load_llama_model():