Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -227,7 +227,7 @@ with st.sidebar:
|
|
227 |
""")
|
228 |
|
229 |
# Main app layout
|
230 |
-
st.header("
|
231 |
st.write("A this project oversees implementation of Mixture of Agents architecture Powered by Groq LLMs.")
|
232 |
# st.image("./static/moa_groq.svg", caption="Mixture of Agents Workflow", width=1000)
|
233 |
|
@@ -263,4 +263,12 @@ if query := st.chat_input("Ask a question"):
|
|
263 |
ast_mess = stream_response(moa_agent.chat(query, output_format='json'))
|
264 |
response = st.write_stream(ast_mess)
|
265 |
|
266 |
-
st.session_state.messages.append({"role": "assistant", "content": response})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
""")
|
228 |
|
229 |
# Main app layout
|
230 |
+
st.header("Mixture of Agents", anchor=False)
|
231 |
st.write("A this project oversees implementation of Mixture of Agents architecture Powered by Groq LLMs.")
|
232 |
# st.image("./static/moa_groq.svg", caption="Mixture of Agents Workflow", width=1000)
|
233 |
|
|
|
263 |
ast_mess = stream_response(moa_agent.chat(query, output_format='json'))
|
264 |
response = st.write_stream(ast_mess)
|
265 |
|
266 |
+
st.session_state.messages.append({"role": "assistant", "content": response})
|
267 |
+
|
268 |
+
|
269 |
+
# Add acknowledgment at the bottom
|
270 |
+
st.markdown("---")
|
271 |
+
st.markdown("""
|
272 |
+
###
|
273 |
+
This app is based on [Emmanuel M. Ndaliro's work](https://github.com/kram254/Mixture-of-Agents-running-on-Groq/tree/main).
|
274 |
+
""")
|