Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,9 +37,9 @@ def getresponse(userInput, api_key):
|
|
| 37 |
if st.session_state['conversation'] is None:
|
| 38 |
|
| 39 |
llm = HuggingFaceEndpoint(
|
| 40 |
-
temperature=0.
|
| 41 |
HUGGINGFACEHUB_API_TOKEN=api_key,
|
| 42 |
-
repo_id="mistralai/
|
| 43 |
)
|
| 44 |
|
| 45 |
st.session_state['conversation'] = ConversationChain(
|
|
|
|
| 37 |
if st.session_state['conversation'] is None:
|
| 38 |
|
| 39 |
llm = HuggingFaceEndpoint(
|
| 40 |
+
temperature=0.9,
|
| 41 |
HUGGINGFACEHUB_API_TOKEN=api_key,
|
| 42 |
+
repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1" # 'text-davinci-003' model is depreciated now, so we are using the openai's recommended model
|
| 43 |
)
|
| 44 |
|
| 45 |
st.session_state['conversation'] = ConversationChain(
|