Spaces:
Sleeping
Sleeping
Update app.py
#1
by
lyimo
- opened
app.py
CHANGED
@@ -12,7 +12,7 @@ from transformers import StoppingCriteria, StoppingCriteriaList
|
|
12 |
# Load the Llama model and setup the conversation pipeline
|
13 |
model_id = 'meta-llama/Llama-2-7b-chat-hf'
|
14 |
# Add your authentication token here
|
15 |
-
hf_auth = '
|
16 |
|
17 |
# Load Llama model
|
18 |
model_config = transformers.AutoConfig.from_pretrained(model_id, use_auth_token=hf_auth)
|
|
|
12 |
# Load the Llama model and setup the conversation pipeline
|
13 |
model_id = 'meta-llama/Llama-2-7b-chat-hf'
|
14 |
# Add your authentication token here
|
15 |
+
hf_auth = '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'
|
16 |
|
17 |
# Load Llama model
|
18 |
model_config = transformers.AutoConfig.from_pretrained(model_id, use_auth_token=hf_auth)
|