Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def getresponse(userInput, api_key):
|
|
| 39 |
llm = HuggingFaceEndpoint(
|
| 40 |
temperature=0.7,
|
| 41 |
HUGGINGFACEHUB_API_TOKEN=api_key,
|
| 42 |
-
repo_id="
|
| 43 |
)
|
| 44 |
|
| 45 |
st.session_state['conversation'] = ConversationChain(
|
|
|
|
| 39 |
llm = HuggingFaceEndpoint(
|
| 40 |
temperature=0.7,
|
| 41 |
HUGGINGFACEHUB_API_TOKEN=api_key,
|
| 42 |
+
repo_id="mistralai/Mistral-7B-Instruct-v0.2" # 'text-davinci-003' model is depreciated now, so we are using the openai's recommended model
|
| 43 |
)
|
| 44 |
|
| 45 |
st.session_state['conversation'] = ConversationChain(
|