jdesiree commited on
Commit
aefd6d2
·
verified ·
1 Parent(s): 3453a70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -7,10 +7,8 @@ import os
7
  # Set up the LangChain model (using HuggingFace Zephyr model)
8
  llm = HuggingFaceEndpoint(
9
  repo_id="HuggingFaceH4/zephyr-7b-beta",
10
- "temperature": 0.7,
11
- model_kwargs={
12
- "max_length": 512
13
- },
14
  huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
15
  )
16
 
 
7
  # Set up the LangChain model (using HuggingFace Zephyr model)
8
  llm = HuggingFaceEndpoint(
9
  repo_id="HuggingFaceH4/zephyr-7b-beta",
10
+ temperature=0.7,
11
+ model_kwargs={"max_length": 512},
 
 
12
  huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
13
  )
14