Update app.py
Browse files
app.py
CHANGED
@@ -82,24 +82,24 @@ def getLLMResponse(query, age_option,tasktype_option):
|
|
82 |
|
83 |
#UI Starts here
|
84 |
|
85 |
-
st.set_page_config(page_title="
|
86 |
-
page_icon='
|
87 |
layout='centered',
|
88 |
initial_sidebar_state='collapsed')
|
89 |
-
st.header("
|
90 |
|
91 |
-
form_input = st.text_area('Enter
|
92 |
|
93 |
tasktype_option = st.selectbox(
|
94 |
-
'
|
95 |
('Write a sales copy', 'Create a tweet', 'Write a product description'),key=1)
|
96 |
|
97 |
age_option= st.selectbox(
|
98 |
-
'
|
99 |
('Kid' ,'Adult', 'senior Citizen'),key=2)
|
100 |
|
101 |
# numberOfWords= st.slider('Words limit', 1, 200, 25)
|
102 |
-
numberOfWords = 40 # the model doesn't
|
103 |
|
104 |
submit = st.button("Generate")
|
105 |
|
|
|
82 |
|
83 |
#UI Starts here
|
84 |
|
85 |
+
st.set_page_config(page_title="PitchPal: Your Friendly Copy Assistant",
|
86 |
+
page_icon='💻',
|
87 |
layout='centered',
|
88 |
initial_sidebar_state='collapsed')
|
89 |
+
st.header("Product Name Or Service You Want A Pitch")
|
90 |
|
91 |
+
form_input = st.text_area('Enter the name of the product or service you want to promote: ', height=100)
|
92 |
|
93 |
tasktype_option = st.selectbox(
|
94 |
+
'Choose the type of marketing copy you want to generate: ',
|
95 |
('Write a sales copy', 'Create a tweet', 'Write a product description'),key=1)
|
96 |
|
97 |
age_option= st.selectbox(
|
98 |
+
'Select the age group of your intended audience: ',
|
99 |
('Kid' ,'Adult', 'senior Citizen'),key=2)
|
100 |
|
101 |
# numberOfWords= st.slider('Words limit', 1, 200, 25)
|
102 |
+
numberOfWords = 40 # the new model doesn't support this.
|
103 |
|
104 |
submit = st.button("Generate")
|
105 |
|