Spaces:
Build error
Build error
Update mylab/decent_ui.py
Browse files- mylab/decent_ui.py +3 -2
mylab/decent_ui.py
CHANGED
|
@@ -109,7 +109,7 @@ write = Task(
|
|
| 109 |
"1. Use the Business Consultant's plan to write a professional document for {topic}.\n"
|
| 110 |
"2. Structure the content with engaging sections and visuals.\n"
|
| 111 |
"3. Ensure alignment with the stakeholder's goals.\n"
|
| 112 |
-
"4. Limit the document to
|
| 113 |
),
|
| 114 |
expected_output="A professional document tailored for {stakeholder}.",
|
| 115 |
agent=writer
|
|
@@ -204,7 +204,8 @@ if st.button("Generate Insights"):
|
|
| 204 |
except Exception as e:
|
| 205 |
st.error(f"An error occurred during execution: {e}")
|
| 206 |
|
|
|
|
| 207 |
# Add reference and credits in the sidebar
|
| 208 |
st.sidebar.markdown("---")
|
| 209 |
st.sidebar.markdown("### Reference:")
|
| 210 |
-
st.sidebar.markdown("[Multi-Agent Business Consultant - Hanan Tabak](https://medium.com/@hanan.tabak/user-friendly-open-source-multi-agent-ai-business-consultant-on-crewai-and-streamlit-0f972feb1b74)")
|
|
|
|
| 109 |
"1. Use the Business Consultant's plan to write a professional document for {topic}.\n"
|
| 110 |
"2. Structure the content with engaging sections and visuals.\n"
|
| 111 |
"3. Ensure alignment with the stakeholder's goals.\n"
|
| 112 |
+
"4. Limit the document to 400 words."
|
| 113 |
),
|
| 114 |
expected_output="A professional document tailored for {stakeholder}.",
|
| 115 |
agent=writer
|
|
|
|
| 204 |
except Exception as e:
|
| 205 |
st.error(f"An error occurred during execution: {e}")
|
| 206 |
|
| 207 |
+
|
| 208 |
# Add reference and credits in the sidebar
|
| 209 |
st.sidebar.markdown("---")
|
| 210 |
st.sidebar.markdown("### Reference:")
|
| 211 |
+
st.sidebar.markdown("[Multi-Agent Business Consultant - Hanan Tabak](https://medium.com/@hanan.tabak/user-friendly-open-source-multi-agent-ai-business-consultant-on-crewai-and-streamlit-0f972feb1b74)")
|