Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from dotenv import load_dotenv
|
|
10 |
|
11 |
load_dotenv()
|
12 |
|
13 |
-
def getLLMResponse(
|
14 |
# 'text-davinci-003' model is depreciated now, so we are using the openai's recommended model
|
15 |
#llm = OpenAI(temperature=.9, model="gpt-3.5-turbo-instruct")
|
16 |
llm = HuggingFaceEndpoint(repo_id="mistralai/Mistral-7B-Instruct-v0.2", Temperature=0.3)
|
|
|
10 |
|
11 |
load_dotenv()
|
12 |
|
13 |
+
def getLLMResponse(query,age_option,tasktype_option):
|
14 |
# 'text-davinci-003' model is depreciated now, so we are using the openai's recommended model
|
15 |
#llm = OpenAI(temperature=.9, model="gpt-3.5-turbo-instruct")
|
16 |
llm = HuggingFaceEndpoint(repo_id="mistralai/Mistral-7B-Instruct-v0.2", Temperature=0.3)
|