Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,22 +1,27 @@
|
|
| 1 |
-
# === Home.py (Main file) ===
|
| 2 |
-
|
| 3 |
-
import
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
st.
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
st.
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# === Home.py (Main file) ===
|
| 2 |
+
|
| 3 |
+
import subprocess
|
| 4 |
+
|
| 5 |
+
# Install Playwright browsers if not already installed
|
| 6 |
+
subprocess.run(["playwright", "install", "chromium"], check=True)
|
| 7 |
+
|
| 8 |
+
import streamlit as st
|
| 9 |
+
|
| 10 |
+
st.set_page_config(
|
| 11 |
+
page_title="Home",
|
| 12 |
+
page_icon="🏠"
|
| 13 |
+
)
|
| 14 |
+
|
| 15 |
+
st.title("📖 Welcome to Blog Creation")
|
| 16 |
+
st.subheader("Select a page from the sidebar to start generating your blog.")
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
# Add a visual divider
|
| 20 |
+
st.markdown("---")
|
| 21 |
+
|
| 22 |
+
# Engaging CTA Section
|
| 23 |
+
st.success("✨ Get started by selecting an option from the sidebar!")
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
|