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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,8 +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
  model_kwargs={
11
- "temperature": 0.7,
12
  "max_length": 512
13
  },
14
  huggingfacehub_api_token=os.getenv("HUGGINGFACEHUB_API_TOKEN")
 
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")