Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
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")
|