samim2024 commited on
Commit
cc64422
·
verified ·
1 Parent(s): 62acfc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from dotenv import load_dotenv
10
 
11
  load_dotenv()
12
 
13
- def getLLMResponse(template_userInput,template_ageoption,template_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)
 
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)