Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -142,12 +142,14 @@ def getLLMResponse(query,age_option,tasktype_option):
|
|
142 |
#UI Starts here
|
143 |
|
144 |
st.set_page_config(page_title="Marketing Tool",
|
145 |
-
page_icon=
|
146 |
layout='centered',
|
147 |
-
initial_sidebar_state=
|
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?',
|
@@ -155,9 +157,10 @@ tasktype_option = st.selectbox(
|
|
155 |
|
156 |
age_option= st.selectbox(
|
157 |
'For which age group?',
|
158 |
-
('Kid', 'Adult', '
|
159 |
|
160 |
numberOfWords= st.slider('Words limit', 1, 200, 25)
|
|
|
161 |
|
162 |
submit = st.button("Generate")
|
163 |
|
|
|
142 |
#UI Starts here
|
143 |
|
144 |
st.set_page_config(page_title="Marketing Tool",
|
145 |
+
page_icon="🧊",,
|
146 |
layout='centered',
|
147 |
+
initial_sidebar_state="expanded")
|
148 |
+
st.header("Hey, How can I help you?", divider='rainbow')
|
149 |
+
st.header('_Somesh_ AI Powered is :blue[cool] :sunglasses:')
|
150 |
|
151 |
form_input = st.text_area('Enter text', height=75)
|
152 |
+
st.write(f'You wrote {len(form_input)} characters.')
|
153 |
|
154 |
tasktype_option = st.selectbox(
|
155 |
'Please select the action to be performed?',
|
|
|
157 |
|
158 |
age_option= st.selectbox(
|
159 |
'For which age group?',
|
160 |
+
('Kid', 'Adult', 'Senior Citizen'),key=2)
|
161 |
|
162 |
numberOfWords= st.slider('Words limit', 1, 200, 25)
|
163 |
+
st.write("Total Charcters are ", numberOfWords, 'But Maximum You Can 200 Chars')
|
164 |
|
165 |
submit = st.button("Generate")
|
166 |
|