DrishtiSharma commited on
Commit
d1fe61c
Β·
verified Β·
1 Parent(s): 47325f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -19
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
- enable_customization = st.sidebar.checkbox("Enable Advanced Agent Customization")
24
- if enable_customization:
25
- st.sidebar.markdown("### Customize Agent Goals")
26
- planner_goal = st.sidebar.text_area(
27
- "Planner Goal",
28
- value="Plan engaging and factually accurate content about the topic."
29
- )
30
- writer_goal = st.sidebar.text_area(
31
- "Writer Goal",
32
- value="Write insightful and engaging content based on the topic."
33
- )
34
- analyst_goal = st.sidebar.text_area(
35
- "Analyst Goal",
36
- value="Perform statistical analysis to extract actionable insights."
37
- )
38
- else:
39
- planner_goal = "Plan engaging and factually accurate content about the topic."
40
- writer_goal = "Write insightful and engaging content based on the topic."
41
- analyst_goal = "Perform statistical analysis to extract actionable insights."
 
 
 
 
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