Spaces:
Sleeping
Sleeping
matthewfarant
commited on
Commit
•
801ac4e
1
Parent(s):
5c30082
Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,7 @@ llm = HuggingFaceEndpoint(
|
|
28 |
max_new_tokens=4000,
|
29 |
do_sample=False,
|
30 |
repetition_penalty=1.03,
|
|
|
31 |
)
|
32 |
|
33 |
llama3 = ChatHuggingFace(llm=llm, temperature = 1)
|
|
|
28 |
max_new_tokens=4000,
|
29 |
do_sample=False,
|
30 |
repetition_penalty=1.03,
|
31 |
+
huggingfacehub_api_token=os.getenv('HF_KEY')
|
32 |
)
|
33 |
|
34 |
llama3 = ChatHuggingFace(llm=llm, temperature = 1)
|