Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,10 @@ model = PeftModel.from_pretrained(
|
|
21 |
)
|
22 |
model = model.eval()
|
23 |
|
24 |
-
tokenizer = AutoTokenizer.from_pretrained(
|
|
|
|
|
|
|
25 |
|
26 |
|
27 |
def construct_prompt(ticker, date, n_weeks):
|
|
|
21 |
)
|
22 |
model = model.eval()
|
23 |
|
24 |
+
tokenizer = AutoTokenizer.from_pretrained(
|
25 |
+
'meta-llama/Llama-2-7b-chat-hf',
|
26 |
+
token=access_token
|
27 |
+
)
|
28 |
|
29 |
|
30 |
def construct_prompt(ticker, date, n_weeks):
|