Update app.py
Browse files
app.py
CHANGED
@@ -104,28 +104,23 @@ st.markdown(
|
|
104 |
.title { text-align: center; font-size: 2.4rem; font-weight: bold; margin-bottom: 20px; }
|
105 |
.description { text-align: center; font-size: 1.0rem; color: #555; margin-bottom: 30px; }
|
106 |
.section { margin-top: 30px; margin-bottom: 30px; }
|
107 |
-
.ack { font-size: 0.95rem; color: #888; text-align: center; margin-top:
|
108 |
</style>
|
109 |
""",
|
110 |
unsafe_allow_html=True,
|
111 |
)
|
112 |
|
113 |
-
# 1. Add Acknowledgment as an Info Bar
|
114 |
-
#st.info(
|
115 |
-
#"Acknowledgment: This app is based on [Jad Tounsi El Azzoiani's work](https://github.com/jadouse5/openai-swarm-webscraper).",
|
116 |
-
#icon="βΉοΈ"
|
117 |
-
#)
|
118 |
|
119 |
-
#
|
120 |
st.markdown('<div class="title">Swarm-based Web Content Analyzer π§</div>', unsafe_allow_html=True)
|
121 |
|
122 |
-
#
|
123 |
st.markdown('<div class="description">Effortlessly extract, analyze, and summarize web content using multi-agents.</div>', unsafe_allow_html=True)
|
124 |
|
125 |
-
#
|
126 |
st.image("./image-4.png", use_container_width=True)
|
127 |
|
128 |
-
#
|
129 |
st.markdown(
|
130 |
"""
|
131 |
<div class="ack">
|
|
|
104 |
.title { text-align: center; font-size: 2.4rem; font-weight: bold; margin-bottom: 20px; }
|
105 |
.description { text-align: center; font-size: 1.0rem; color: #555; margin-bottom: 30px; }
|
106 |
.section { margin-top: 30px; margin-bottom: 30px; }
|
107 |
+
.ack { font-size: 0.95rem; color: #888; text-align: center; margin-top: 10px; }
|
108 |
</style>
|
109 |
""",
|
110 |
unsafe_allow_html=True,
|
111 |
)
|
112 |
|
|
|
|
|
|
|
|
|
|
|
113 |
|
114 |
+
# 1. Add the title at the top
|
115 |
st.markdown('<div class="title">Swarm-based Web Content Analyzer π§</div>', unsafe_allow_html=True)
|
116 |
|
117 |
+
# 2. Add the description below the title
|
118 |
st.markdown('<div class="description">Effortlessly extract, analyze, and summarize web content using multi-agents.</div>', unsafe_allow_html=True)
|
119 |
|
120 |
+
# 3. Add the image below the description
|
121 |
st.image("./image-4.png", use_container_width=True)
|
122 |
|
123 |
+
# 4. Add Acknowledgement
|
124 |
st.markdown(
|
125 |
"""
|
126 |
<div class="ack">
|