Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -105,11 +105,11 @@ def set_visible_false():
|
|
| 105 |
def set_visible_true():
|
| 106 |
return gr.update(visible=True)
|
| 107 |
|
| 108 |
-
title = """<h1 align="center">π Swarm Intelligence Agents
|
| 109 |
|
| 110 |
#display message for themes feature
|
| 111 |
-
theme_addon_msg = """<center>π
|
| 112 |
-
<br>πThe agents use smart task decomposition and optimization processes to ensure accurate and efficient research on any topic
|
| 113 |
"""
|
| 114 |
|
| 115 |
#Using info to add additional information about System message in GPT4
|
|
@@ -122,7 +122,7 @@ theme = gr.themes.Soft(primary_hue="zinc", secondary_hue="green", neutral_hue="g
|
|
| 122 |
with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;} #chatbot {height: 520px; overflow: auto;}""",
|
| 123 |
theme=theme) as demo:
|
| 124 |
gr.HTML(title)
|
| 125 |
-
gr.HTML("""<h3 align="center">π₯Using a swarm of automated agents, we can perform fast and accurate research on any topic
|
| 126 |
gr.HTML(theme_addon_msg)
|
| 127 |
gr.HTML('''<center><a href="https://huggingface.co/spaces/swarm-agents/swarm-agents?duplicate=true"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
|
| 128 |
|
|
|
|
| 105 |
def set_visible_true():
|
| 106 |
return gr.update(visible=True)
|
| 107 |
|
| 108 |
+
title = """<h1 align="center">π Swarm Intelligence Agents π</h1>"""
|
| 109 |
|
| 110 |
#display message for themes feature
|
| 111 |
+
theme_addon_msg = """<center>π The swarm of agents combines a huge number of parallel agents divided into roles, including examiners, QA, evaluators, managers, analytics, and googlers.
|
| 112 |
+
<br>πThe agents use smart task decomposition and optimization processes to ensure accurate and efficient research on any topic.</center>
|
| 113 |
"""
|
| 114 |
|
| 115 |
#Using info to add additional information about System message in GPT4
|
|
|
|
| 122 |
with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;} #chatbot {height: 520px; overflow: auto;}""",
|
| 123 |
theme=theme) as demo:
|
| 124 |
gr.HTML(title)
|
| 125 |
+
gr.HTML("""<h3 align="center">π₯ Using a swarm of automated agents, we can perform fast and accurate research on any topic.π.You don't need to spend tons of hours during reseachyπ</h1>""")
|
| 126 |
gr.HTML(theme_addon_msg)
|
| 127 |
gr.HTML('''<center><a href="https://huggingface.co/spaces/swarm-agents/swarm-agents?duplicate=true"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
|
| 128 |
|