Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ Answer in french only
|
|
55 |
repo_id = "mistralai/Mistral-7B-Instruct-v0.2"
|
56 |
|
57 |
mistral_llm = HuggingFaceEndpoint(
|
58 |
-
repo_id=repo_id, max_length=
|
59 |
)
|
60 |
|
61 |
# Create prompt from prompt template
|
|
|
55 |
repo_id = "mistralai/Mistral-7B-Instruct-v0.2"
|
56 |
|
57 |
mistral_llm = HuggingFaceEndpoint(
|
58 |
+
repo_id=repo_id, max_length=512, temperature=0.05, huggingfacehub_api_token=st.secrets["HF_TOKEN"]
|
59 |
)
|
60 |
|
61 |
# Create prompt from prompt template
|