Spaces:
Sleeping
Sleeping
| 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} | |