lorentz commited on
Commit
1bad60f
1 Parent(s): bba9405

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,6 +8,7 @@ from dotenv import load_dotenv
8
  load_dotenv()
9
 
10
  def getLLMResponse(query,age_option,tasktype_option):
 
11
  llm = OpenAI(temperature=.9, model="text-davinci-003")
12
 
13
  if age_option=="Kid": #Silly and Sweet Kid
@@ -147,7 +148,7 @@ tasktype_option = st.selectbox(
147
  ('Write a sales copy', 'Create a tweet', 'Write a product description'),key=1)
148
 
149
  age_option= st.selectbox(
150
- 'For which age group?',
151
  ('Kid', 'Adult', 'senior Citizen'),key=2)
152
 
153
  numberOfWords= st.slider('Words limit', 1, 200, 25)
 
8
  load_dotenv()
9
 
10
  def getLLMResponse(query,age_option,tasktype_option):
11
+ examples = []
12
  llm = OpenAI(temperature=.9, model="text-davinci-003")
13
 
14
  if age_option=="Kid": #Silly and Sweet Kid
 
148
  ('Write a sales copy', 'Create a tweet', 'Write a product description'),key=1)
149
 
150
  age_option= st.selectbox(
151
+ 'For which target age group?',
152
  ('Kid', 'Adult', 'senior Citizen'),key=2)
153
 
154
  numberOfWords= st.slider('Words limit', 1, 200, 25)