Ryukijano commited on
Commit
b75198d
·
verified ·
1 Parent(s): a2c060f

Update app.py

Browse files

final fix hopefully

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ import torch
7
  import os
8
 
9
  # Set up Hugging Face token for private model access
10
- hf_token = os.getenv("HF_TOKEN")
11
 
12
  # Set up Meta Llama 3.2 Vision model (using private model with token)
13
  llama_vision_model_id = "meta-llama/Llama-3.2-1B-Vision"
@@ -64,4 +64,4 @@ interface = gr.Interface(
64
  )
65
 
66
  # Launch the app
67
- interface.launch()
 
7
  import os
8
 
9
  # Set up Hugging Face token for private model access
10
+ hf_token = os.getenv("HF_TOKEN") # Fetch token from repository secrets
11
 
12
  # Set up Meta Llama 3.2 Vision model (using private model with token)
13
  llama_vision_model_id = "meta-llama/Llama-3.2-1B-Vision"
 
64
  )
65
 
66
  # Launch the app
67
+ interface.launch()