lorentz commited on
Commit
d950efc
·
verified ·
1 Parent(s): 32dcc75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,7 +9,7 @@ load_dotenv() # load the env-sample.txt file
9
 
10
  def getLLMResponse(query, age_option,tasktype_option):
11
  examples = []
12
- llm = OpenAI(temperature=.9, model="gpt-3.5-turbo-instruct")
13
 
14
 
15
  example_template = """
@@ -81,11 +81,11 @@ form_input = st.text_area('Enter the name of the product or service you want to
81
 
82
  tasktype_option = st.selectbox(
83
  'Choose the type of marketing copy you want to generate: ',
84
- ('Write a sales copy', 'Create a tweet', 'Write a product description'),key=1)
85
 
86
  age_option= st.selectbox(
87
  'Select the age group of your intended audience: ',
88
- ('Kid' ,'Adult', 'senior Citizen'),key=2)
89
 
90
  # numberOfWords= st.slider('Words limit', 1, 200, 25)
91
  numberOfWords = 40 # the new model doesn't support this.
 
9
 
10
  def getLLMResponse(query, age_option,tasktype_option):
11
  examples = []
12
+ llm = OpenAI(temperature=.9, model="gpt-3.5-turbo")
13
 
14
 
15
  example_template = """
 
81
 
82
  tasktype_option = st.selectbox(
83
  'Choose the type of marketing copy you want to generate: ',
84
+ ('Draft a sales copy', 'Draft a Twitter post', 'Draft a product description'),key=1)
85
 
86
  age_option= st.selectbox(
87
  'Select the age group of your intended audience: ',
88
+ ('below age 18' ,'age 18-45', 'age 46-65', 'age > 65'),key=2)
89
 
90
  # numberOfWords= st.slider('Words limit', 1, 200, 25)
91
  numberOfWords = 40 # the new model doesn't support this.