Spaces:
Sleeping
Sleeping
File size: 751 Bytes
1571004 d961e29 bffdddb d961e29 3034038 d961e29 bffdddb 1571004 d961e29 1571004 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# === Home.py (Main file) ===
import streamlit as st
import subprocess
# Install all Playwright browsers with system dependencies
try:
subprocess.run(
["playwright", "install", "chromium", "firefox", "webkit"],
check=True
)
print("Successfully installed all browsers for Crawl4AI.")
except subprocess.CalledProcessError as e:
print(f"Browser installation failed: {e}")
# APP code
st.set_page_config(
page_title="Home",
page_icon="🏠"
)
st.title("📖 Welcome to Blog Creation")
st.subheader("Select a page from the sidebar to start generating your blog.")
# Add a visual divider
st.markdown("---")
# Engaging CTA Section
st.success("✨ Get started by selecting an option from the sidebar!")
|