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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ from dotenv import load_dotenv
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)
@@ -147,7 +147,7 @@ st.set_page_config(page_title="Marketing Tool",
147
  initial_sidebar_state='collapsed')
148
  st.header("Hey, How can I help you?")
149
 
150
- form_input = st.text_area('Enter text', height=275)
151
 
152
  tasktype_option = st.selectbox(
153
  'Please select the action to be performed?',
 
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)
 
147
  initial_sidebar_state='collapsed')
148
  st.header("Hey, How can I help you?")
149
 
150
+ form_input = st.text_area('Enter text', height=75)
151
 
152
  tasktype_option = st.selectbox(
153
  'Please select the action to be performed?',