Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,25 +20,29 @@ business = st.text_input('Enter The Required Business Search Area', value="Artif
|
|
| 20 |
stakeholder = st.text_input('Enter The Stakeholder Team', value="Executives")
|
| 21 |
|
| 22 |
# Optional Customization
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
#=================
|
| 44 |
# LLM Object
|
|
|
|
| 20 |
stakeholder = st.text_input('Enter The Stakeholder Team', value="Executives")
|
| 21 |
|
| 22 |
# Optional Customization
|
| 23 |
+
st.sidebar.subheader("Agent Customization")
|
| 24 |
+
|
| 25 |
+
# Display customization section in a collapsible expander
|
| 26 |
+
with st.sidebar.expander("Customize Agent Goals", expanded=False):
|
| 27 |
+
enable_customization = st.checkbox("Enable Custom Goals")
|
| 28 |
+
if enable_customization:
|
| 29 |
+
planner_goal = st.text_area(
|
| 30 |
+
"Planner Goal",
|
| 31 |
+
value="Develop a comprehensive plan focusing on market trends and strategies."
|
| 32 |
+
)
|
| 33 |
+
writer_goal = st.text_area(
|
| 34 |
+
"Writer Goal",
|
| 35 |
+
value="Craft engaging and actionable content based on analysis."
|
| 36 |
+
)
|
| 37 |
+
analyst_goal = st.text_area(
|
| 38 |
+
"Analyst Goal",
|
| 39 |
+
value="Perform advanced statistical analysis and generate key insights."
|
| 40 |
+
)
|
| 41 |
+
else:
|
| 42 |
+
planner_goal = "Develop a comprehensive plan focusing on market trends and strategies."
|
| 43 |
+
writer_goal = "Craft engaging and actionable content based on analysis."
|
| 44 |
+
analyst_goal = "Perform advanced statistical analysis and generate key insights."
|
| 45 |
+
|
| 46 |
|
| 47 |
#=================
|
| 48 |
# LLM Object
|