Spaces:
Runtime error
Runtime error
KunaalNaik
commited on
Commit
•
3e32d9d
1
Parent(s):
bf985cf
Update app.py
Browse files
app.py
CHANGED
@@ -22,10 +22,10 @@ def generate_linkedin_post(topic):
|
|
22 |
return response
|
23 |
|
24 |
with st.form("my_form"):
|
25 |
-
topic = st.text_area("Enter the
|
26 |
-
submitted = st.form_submit_button("Generate
|
27 |
if submitted and topic:
|
28 |
post = generate_linkedin_post(topic)
|
29 |
st.info(post)
|
30 |
elif submitted and not topic:
|
31 |
-
st.error("Please enter a topic to generate a
|
|
|
22 |
return response
|
23 |
|
24 |
with st.form("my_form"):
|
25 |
+
topic = st.text_area("Enter the Customer Product")
|
26 |
+
submitted = st.form_submit_button("Generate Brand")
|
27 |
if submitted and topic:
|
28 |
post = generate_linkedin_post(topic)
|
29 |
st.info(post)
|
30 |
elif submitted and not topic:
|
31 |
+
st.error("Please enter a topic to generate a brand guidelines.")
|