Spaces:
Sleeping
Sleeping
matthewfarant
commited on
Commit
•
a3b5df7
1
Parent(s):
93df7ca
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ os.environ["GOOGLE_API_KEY"] = os.getenv('GOOGLE_API_KEY')
|
|
31 |
# repetition_penalty=1.03
|
32 |
# )
|
33 |
|
34 |
-
pipe = pipeline("text-generation", model="meta-llama/Meta-Llama-3.1-8B-Instruct")
|
35 |
llm = HuggingFacePipeline(pipeline=pipe)
|
36 |
|
37 |
llama3 = ChatHuggingFace(llm=llm, temperature = 1)
|
|
|
31 |
# repetition_penalty=1.03
|
32 |
# )
|
33 |
|
34 |
+
pipe = pipeline("text-generation", model="meta-llama/Meta-Llama-3.1-8B-Instruct", token = os.getenv('HF_KEY'))
|
35 |
llm = HuggingFacePipeline(pipeline=pipe)
|
36 |
|
37 |
llama3 = ChatHuggingFace(llm=llm, temperature = 1)
|