eaglelandsonce commited on
Commit
9555332
1 Parent(s): 9e1e1d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -6
app.py CHANGED
@@ -55,7 +55,8 @@ def crewai_process_gemini(research_topic):
55
 
56
  # Create tasks for your agents
57
  task1 = Task(
58
- description=f"""Create a one paragraph summary of the {research_topic}""",
 
59
  agent=GeminiAgent
60
  )
61
 
@@ -92,7 +93,8 @@ def crewai_process_mixtral_crazy(research_topic):
92
 
93
  # Create tasks for your agents
94
  task1 = Task(
95
- description=f"""Create a one paragraph summary of the {research_topic}""",
 
96
  agent=MixtralCrazyAgent
97
  )
98
 
@@ -128,7 +130,8 @@ def crewai_process_mixtral_normal(research_topic):
128
 
129
  # Create tasks for your agents
130
  task1 = Task(
131
- description=f"""Create a one paragraph summary of the {research_topic}""",
 
132
  agent=MixtralNormalAgent
133
  )
134
 
@@ -164,7 +167,8 @@ def crewai_process_zephyr_normal(research_topic):
164
 
165
  # Create tasks for your agents
166
  task1 = Task(
167
- description=f"""Create a one paragraph summary of the {research_topic}""",
 
168
  agent=ZephrNormalAgent
169
  )
170
 
@@ -200,7 +204,8 @@ def crewai_process_phi2(research_topic):
200
 
201
  # Create tasks for your agents
202
  task1 = Task(
203
- description=f"""Create a one paragraph summary of the {research_topic}""",
 
204
  agent=Phi2Agent
205
  )
206
 
@@ -417,8 +422,9 @@ with tab4:
417
  st.header("Model Evaluation")
418
 
419
  # User input for the research topic
420
- research_topic = st.text_area('Enter your research topic:', '', height=100)
421
 
 
422
 
423
  # Selection box for the function to execute
424
  process_selection = st.selectbox(
 
55
 
56
  # Create tasks for your agents
57
  task1 = Task(
58
+ description=f"""From {research_topic} create your story by writing at least one sentence about each bullet point from each of the five scenes
59
+ and make sure you have a transitional statement between scenes . BE VERBOSE.""",
60
  agent=GeminiAgent
61
  )
62
 
 
93
 
94
  # Create tasks for your agents
95
  task1 = Task(
96
+ description=f"""From {research_topic} create your story by writing at least one sentence about each bullet point from each of the five scenes
97
+ and make sure you have a transitional statement between scenes . BE VERBOSE.""",
98
  agent=MixtralCrazyAgent
99
  )
100
 
 
130
 
131
  # Create tasks for your agents
132
  task1 = Task(
133
+ description=f"""From {research_topic} create your story by writing at least one sentence about each bullet point from each of the five scenes
134
+ and make sure you have a transitional statement between scenes . BE VERBOSE.""",
135
  agent=MixtralNormalAgent
136
  )
137
 
 
167
 
168
  # Create tasks for your agents
169
  task1 = Task(
170
+ description=f"""From {research_topic} create your story by writing at least one sentence about each bullet point from each of the five scenes
171
+ and make sure you have a transitional statement between scenes . BE VERBOSE.""",
172
  agent=ZephrNormalAgent
173
  )
174
 
 
204
 
205
  # Create tasks for your agents
206
  task1 = Task(
207
+ description=f"""From {research_topic} create your story by writing at least one sentence about each bullet point from each of the five scenes
208
+ and make sure you have a transitional statement between scenes . BE VERBOSE.""",
209
  agent=Phi2Agent
210
  )
211
 
 
422
  st.header("Model Evaluation")
423
 
424
  # User input for the research topic
425
+ #research_topic = st.text_area('Enter your research topic:', '', height=100)
426
 
427
+ research_topic = text1
428
 
429
  # Selection box for the function to execute
430
  process_selection = st.selectbox(