Spaces:
Sleeping
Sleeping
File size: 459 Bytes
b7a0496 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | from llm import llm
from state import AgentState
PROMPT = """
Generate a complete single-file HTML website with inline CSS and JavaScript.
Requirements:
- Modern, clean, minimal UI
- Advanced but subtle animations
- Responsive design
- Only organic fertilizer related images
- Use placeholder image URLs
Website description:
{}
"""
def coder(state: AgentState):
result = llm.invoke(PROMPT.format(state["request"]))
return {"code": result.content}
|