eaglelandsonce commited on
Commit
fb75dec
1 Parent(s): a6c8b05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -147,8 +147,10 @@ def crewai_process(research_topic):
147
  crew = Crew(
148
  # agents=[author, artist, poet, reader, finalizer ],
149
  # tasks=[task1, task2, task3, task4, task5]
150
- agents=[author, artist, poet, finalizer ],
151
- tasks=[task1, task2, task3, task5],
 
 
152
  verbose=2,
153
  process=Process.sequential
154
  )
@@ -171,6 +173,6 @@ if st.button("Run"):
171
  # Run the crewai process
172
  result = crewai_process(input_topic)
173
  # Display the result
174
- st.text_area("Output", value=result, height=300)
175
 
176
- st.image(image, caption='Generated Image', use_column_width=True)
 
147
  crew = Crew(
148
  # agents=[author, artist, poet, reader, finalizer ],
149
  # tasks=[task1, task2, task3, task4, task5]
150
+ # agents=[author, artist, poet, finalizer ],
151
+ # tasks=[task1, task2, task3, task5],
152
+ agents=[author, artist],
153
+ tasks=[task1, task2],
154
  verbose=2,
155
  process=Process.sequential
156
  )
 
173
  # Run the crewai process
174
  result = crewai_process(input_topic)
175
  # Display the result
176
+ #st.text_area("Output", value=result, height=300)
177
 
178
+ st.image(result, caption='Generated Image', use_column_width=True)