sachitksh123 commited on
Commit
e9d7be2
·
verified ·
1 Parent(s): 3d48847

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ session = requests.Session()
12
  session.verify = False # Disable SSL verification
13
 
14
  # Load the token from Hugging Face secrets
15
- HUGGINGFACE_TOKEN = os.getenv("hf_token") # Set the default to empty if not found
16
 
17
  # Set up the text generation pipeline with the token
18
  pipe = pipeline("text-generation", model="meta-llama/Llama-3.1-8B-Instruct",
 
12
  session.verify = False # Disable SSL verification
13
 
14
  # Load the token from Hugging Face secrets
15
+ HUGGINGFACE_TOKEN = os.environ.get("hf_token") # Set the default to empty if not found
16
 
17
  # Set up the text generation pipeline with the token
18
  pipe = pipeline("text-generation", model="meta-llama/Llama-3.1-8B-Instruct",