Snapspark commited on
Commit
1d96d00
·
verified ·
1 Parent(s): ab4b2b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -16
app.py CHANGED
@@ -67,22 +67,9 @@ def build_with_crew():
67
  )
68
 
69
  # Tasks
70
- task1 = Task(
71
- description=f"Plan ALL sections for {niche} website. List: Hero, Stats, Features, Tools, Testimonials, FAQ, Contact. Be specific with content ideas.",
72
- expected_output="A detailed plan listing all website sections with specific content ideas for each",
73
- agent=planner
74
- )
75
-
76
- task2 = Task(
77
- description=f"Design layout for {niche}. Dark theme #0A0A0F, orange #FF6B00 accent, Bebas Neue font, glassmorphism cards, glow effects. Mobile responsive.",
78
- expected_output="A complete design specification with colors, fonts, layout, and component designs",
79
- agent=designer
80
- )
81
-
82
- task3 = Task(
83
- description=f"Build COMPLETE HTML for {niche}. Include: working JavaScript tool, real Hindi+English content, Indian names, Font Awesome icons, Google Fonts CDN. NO Lorem Ipsum. Return full HTML with <!DOCTYPE html>.",
84
- expected_output="Complete HTML file with all CSS and JS included, ready to open in browser",
85
- agent=developer
86
  )
87
 
88
  crew = Crew(agents=[planner, designer, developer], tasks=[task1, task2, task3])
 
67
  )
68
 
69
  # Tasks
70
+ task1 = Task(description=f"Plan sections for {niche}", expected_output="List of sections", agent=planner)
71
+ task2 = Task(description=f"Design layout for {niche}", expected_output="Design spec", agent=designer)
72
+ task3 = Task(description=f"Build HTML for {niche} with dark theme, real content, working tool. Return complete HTML.", expected_output="Complete HTML file", agent=developer)
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  )
74
 
75
  crew = Crew(agents=[planner, designer, developer], tasks=[task1, task2, task3])