Spaces:
Runtime error
Runtime error
Update Workshop.py
Browse files- Workshop.py +5 -11
Workshop.py
CHANGED
|
@@ -42,11 +42,9 @@ def app():
|
|
| 42 |
editable_What_if = st.text_area("Edit What if section ", details["What_if"], height=150)
|
| 43 |
editable_bonuses = st.text_area("Edit bonuses", details["bonuses"], height=150)
|
| 44 |
editable_testimonials = st.text_area("testimonials", details["testimonials"], height=150)
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
# editable_mentor_intro = st.text_area("Edit Mentor Introduction", details["mentor_intro"], height=150)
|
| 49 |
-
# editable_faq = st.text_area("Edit FAQs", details["faq"], height=300)
|
| 50 |
|
| 51 |
# Combine edited content
|
| 52 |
combined_content = (
|
|
@@ -62,12 +60,8 @@ def app():
|
|
| 62 |
f"**What if section**: {editable_What_if}\n\n"
|
| 63 |
f"**Bonuses**: {editable_bonuses}\n\n"
|
| 64 |
f"**Testimonials**: {editable_testimonials}\n\n"
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
# f"**Testimonials**: {editable_testimonials}\n\n"
|
| 68 |
-
# f"**Urgency CTA**: {editable_urgency_cta}\n\n"
|
| 69 |
-
# f"**Mentor Introduction**: {editable_mentor_intro}\n\n"
|
| 70 |
-
# f"**FAQs**: {editable_faq}\n"
|
| 71 |
)
|
| 72 |
|
| 73 |
st.download_button(
|
|
|
|
| 42 |
editable_What_if = st.text_area("Edit What if section ", details["What_if"], height=150)
|
| 43 |
editable_bonuses = st.text_area("Edit bonuses", details["bonuses"], height=150)
|
| 44 |
editable_testimonials = st.text_area("testimonials", details["testimonials"], height=150)
|
| 45 |
+
|
| 46 |
+
editable_audience_list = st.text_area("Edit Audience", details["audience_list"], height=300)
|
| 47 |
+
editable_faq = st.text_area("Edit FAQs", details["faqs"], height=300)
|
|
|
|
|
|
|
| 48 |
|
| 49 |
# Combine edited content
|
| 50 |
combined_content = (
|
|
|
|
| 60 |
f"**What if section**: {editable_What_if}\n\n"
|
| 61 |
f"**Bonuses**: {editable_bonuses}\n\n"
|
| 62 |
f"**Testimonials**: {editable_testimonials}\n\n"
|
| 63 |
+
f"**Audience section **: {editable_audience_list}\n\n"
|
| 64 |
+
f"**FAQs**: {editable_faq}\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 65 |
)
|
| 66 |
|
| 67 |
st.download_button(
|