Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from langchain_community.llms import HuggingFaceEndpoint
|
|
| 4 |
|
| 5 |
#Taking question as input from user
|
| 6 |
def load_answer(question):
|
| 7 |
-
llm=HuggingFaceEndpoint(repo_id="mistralai/Mistral-7B-Instruct-v0.2",temperature = 0)
|
| 8 |
answer=llm.invoke(question)
|
| 9 |
return answer
|
| 10 |
|
|
|
|
| 4 |
|
| 5 |
#Taking question as input from user
|
| 6 |
def load_answer(question):
|
| 7 |
+
llm=HuggingFaceEndpoint(repo_id="mistralai/Mistral-7B-Instruct-v0.2",temperature = 1.0)
|
| 8 |
answer=llm.invoke(question)
|
| 9 |
return answer
|
| 10 |
|