Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ Answer in french only
|
|
49 |
repo_id = "mistralai/Mistral-7B-Instruct-v0.3"
|
50 |
|
51 |
mistral_llm = HuggingFaceEndpoint(
|
52 |
-
repo_id=repo_id, max_length=
|
53 |
)
|
54 |
|
55 |
# Create prompt from prompt template
|
|
|
49 |
repo_id = "mistralai/Mistral-7B-Instruct-v0.3"
|
50 |
|
51 |
mistral_llm = HuggingFaceEndpoint(
|
52 |
+
repo_id=repo_id, max_length=2048, temperature=0.05, huggingfacehub_api_token=st.secrets["HF_TOKEN"]
|
53 |
)
|
54 |
|
55 |
# Create prompt from prompt template
|