Spaces:
Runtime error
Runtime error
Commit
·
4be69ec
1
Parent(s):
9c83517
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
|
7 |
model = "meta-llama/Llama-2-7b-chat-hf"
|
8 |
|
9 |
-
tokenizer = AutoTokenizer.from_pretrained(model, token
|
10 |
|
11 |
llama_pipeline = pipeline(
|
12 |
"text-generation",
|
|
|
6 |
|
7 |
model = "meta-llama/Llama-2-7b-chat-hf"
|
8 |
|
9 |
+
tokenizer = AutoTokenizer.from_pretrained(model, token=$HF_TOKEN)
|
10 |
|
11 |
llama_pipeline = pipeline(
|
12 |
"text-generation",
|