Spaces:
Sleeping
Sleeping
Added a Home page, tried to beautify
#5
by
aaronmat1905
- opened
app.py
CHANGED
@@ -411,9 +411,8 @@ class LLaMAAssistant:
|
|
411 |
return f"Response generation error: {e}"
|
412 |
|
413 |
def render_chat():
|
414 |
-
st.header("π¬ Business
|
415 |
-
|
416 |
-
# Embed the Hugging Face Space iframe
|
417 |
st.write("""
|
418 |
<iframe
|
419 |
src="https://demoorganisation34-chatbot-for-prospira.hf.space"
|
@@ -423,7 +422,21 @@ def render_chat():
|
|
423 |
></iframe>
|
424 |
""", unsafe_allow_html=True)
|
425 |
|
426 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
427 |
def main():
|
428 |
st.set_page_config(
|
429 |
page_title="Prospira",
|
@@ -438,9 +451,10 @@ def main():
|
|
438 |
|
439 |
page = st.radio(
|
440 |
"Navigation",
|
441 |
-
["Dashboard", "Analytics", "Brainstorm", "Chat"]
|
442 |
)
|
443 |
-
|
|
|
444 |
if page == "Dashboard":
|
445 |
render_dashboard()
|
446 |
elif page == "Analytics":
|
|
|
411 |
return f"Response generation error: {e}"
|
412 |
|
413 |
def render_chat():
|
414 |
+
st.header("π¬AI Business Mentor")
|
415 |
+
st.title("π€ Prospira AI Business Mentor")
|
|
|
416 |
st.write("""
|
417 |
<iframe
|
418 |
src="https://demoorganisation34-chatbot-for-prospira.hf.space"
|
|
|
422 |
></iframe>
|
423 |
""", unsafe_allow_html=True)
|
424 |
|
425 |
+
def render_home():
|
426 |
+
st.title("π Welcome to Prospira")
|
427 |
+
st.subheader("π Data-Driven Solutions for Businesses and Creators")
|
428 |
+
|
429 |
+
st.markdown("""
|
430 |
+
**Prospira** empowers businesses and creators to enhance their content, products, and marketing strategies using AI-driven insights.
|
431 |
+
|
432 |
+
### **β¨ Key Features**
|
433 |
+
- **π Performance Analytics:** Real-time insights into business metrics.
|
434 |
+
- **π Competitive Analysis:** Benchmark your business against competitors.
|
435 |
+
- **π‘ Smart Product Ideas:** AI-generated recommendations for future products and content.
|
436 |
+
- **π§ AI Business Mentor:** Personalized AI guidance for strategy and growth.
|
437 |
+
Explore how **Prospira** can help optimize your decision-making and drive success! π‘π
|
438 |
+
""")
|
439 |
+
|
440 |
def main():
|
441 |
st.set_page_config(
|
442 |
page_title="Prospira",
|
|
|
451 |
|
452 |
page = st.radio(
|
453 |
"Navigation",
|
454 |
+
["Home", "Dashboard", "Analytics", "Brainstorm", "Chat"]
|
455 |
)
|
456 |
+
if page == "Home":
|
457 |
+
render_home()
|
458 |
if page == "Dashboard":
|
459 |
render_dashboard()
|
460 |
elif page == "Analytics":
|