Update app.py
Browse files
app.py
CHANGED
@@ -99,8 +99,8 @@ def orchestrate_workflow(client, url):
|
|
99 |
st.markdown(
|
100 |
"""
|
101 |
<style>
|
102 |
-
.title { text-align: center; font-size:
|
103 |
-
.description { text-align: center; font-size: 1.
|
104 |
.button-container { text-align: center; margin-top: 20px; }
|
105 |
.custom-button {
|
106 |
padding: 10px 20px;
|
@@ -116,13 +116,13 @@ st.markdown(
|
|
116 |
.custom-button:hover {
|
117 |
background-color: #45a049;
|
118 |
}
|
119 |
-
.ack { font-size: 0.
|
120 |
</style>
|
121 |
""",
|
122 |
unsafe_allow_html=True,
|
123 |
)
|
124 |
|
125 |
-
st.markdown('<div class="title">π Swarm-based
|
126 |
st.markdown('<div class="description">Effortlessly extract, analyze, and summarize web content using AI-powered multi-agent systems.</div>', unsafe_allow_html=True)
|
127 |
|
128 |
fetch_openai_api_key()
|
@@ -136,7 +136,7 @@ if 'OPENAI_API_KEY' in os.environ and os.environ['OPENAI_API_KEY']:
|
|
136 |
url = st.text_input("Enter the URL of the website you want to scrape", placeholder="https://example.com")
|
137 |
|
138 |
# Custom green button
|
139 |
-
st.markdown('<div class="button-container"><button class="custom-button" id="run-workflow">π Run Workflow</button></div>', unsafe_allow_html=True)
|
140 |
|
141 |
# Add JavaScript for button interaction
|
142 |
st.markdown(
|
|
|
99 |
st.markdown(
|
100 |
"""
|
101 |
<style>
|
102 |
+
.title { text-align: center; font-size: 2.5rem; font-weight: bold; }
|
103 |
+
.description { text-align: center; font-size: 1.0rem; color: #555; }
|
104 |
.button-container { text-align: center; margin-top: 20px; }
|
105 |
.custom-button {
|
106 |
padding: 10px 20px;
|
|
|
116 |
.custom-button:hover {
|
117 |
background-color: #45a049;
|
118 |
}
|
119 |
+
.ack { font-size: 0.95rem; color: #888; text-align: center; }
|
120 |
</style>
|
121 |
""",
|
122 |
unsafe_allow_html=True,
|
123 |
)
|
124 |
|
125 |
+
st.markdown('<div class="title">π Swarm-based Web Content Analyzer</div>', unsafe_allow_html=True)
|
126 |
st.markdown('<div class="description">Effortlessly extract, analyze, and summarize web content using AI-powered multi-agent systems.</div>', unsafe_allow_html=True)
|
127 |
|
128 |
fetch_openai_api_key()
|
|
|
136 |
url = st.text_input("Enter the URL of the website you want to scrape", placeholder="https://example.com")
|
137 |
|
138 |
# Custom green button
|
139 |
+
#st.markdown('<div class="button-container"><button class="custom-button" id="run-workflow">π Run Workflow</button></div>', unsafe_allow_html=True)
|
140 |
|
141 |
# Add JavaScript for button interaction
|
142 |
st.markdown(
|