AhsanRazi commited on
Commit
1571004
·
verified ·
1 Parent(s): 2da39ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +27 -22
app.py CHANGED
@@ -1,22 +1,27 @@
1
- # === Home.py (Main file) ===
2
-
3
- import streamlit as st
4
-
5
- st.set_page_config(
6
- page_title="Home",
7
- page_icon="🏠"
8
- )
9
-
10
- st.title("📖 Welcome to Blog Creation")
11
- st.subheader("Select a page from the sidebar to start generating your blog.")
12
-
13
-
14
- # Add a visual divider
15
- st.markdown("---")
16
-
17
- # Engaging CTA Section
18
- st.success("✨ Get started by selecting an option from the sidebar!")
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
+