Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,3 @@
|
|
1 |
-
#just formatting things are left now!!
|
2 |
-
# i think we are there now
|
3 |
-
|
4 |
from crewai import Agent, Task, Crew
|
5 |
import gradio as gr
|
6 |
import asyncio
|
@@ -103,8 +100,6 @@ class ArticleCrew:
|
|
103 |
|
104 |
return [planner_task, writer_task, editor_task]
|
105 |
|
106 |
-
# [Previous code remains the same until the callback functions]
|
107 |
-
|
108 |
async def process_article(self, topic: str) -> Generator[List[Dict], None, None]:
|
109 |
def add_agent_messages(agent_name: str, tasks: str, emoji: str = "🤖"):
|
110 |
# Add agent header
|
|
|
|
|
|
|
|
|
1 |
from crewai import Agent, Task, Crew
|
2 |
import gradio as gr
|
3 |
import asyncio
|
|
|
100 |
|
101 |
return [planner_task, writer_task, editor_task]
|
102 |
|
|
|
|
|
103 |
async def process_article(self, topic: str) -> Generator[List[Dict], None, None]:
|
104 |
def add_agent_messages(agent_name: str, tasks: str, emoji: str = "🤖"):
|
105 |
# Add agent header
|