Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| from graph_runner import run_agent | |
| def generate_website(prompt): | |
| return run_agent(prompt) | |
| gr.Interface( | |
| fn=generate_website, | |
| inputs=gr.Textbox(lines=8, placeholder="ReSyncLogic organic fertilizer e-commerce website with a clean, minimal, and modern UI focused on usability and trust. The page should include a smooth hero section introducing eco-friendly organic fertilizers, a concise product showcase with cards - with advanced text effects and animations (Brand name, price, short benefit), a simple “Add to Cart” interaction (UI only), and a clear call-to-action. Use advanced but subtle effects like smooth scrolling, gentle hover animations, soft shadows, micro-interactions, and elegant transitions—no heavy features or complex checkout. Prioritize responsive design, earthy color tones, modern typography, and fast performance, keeping the layout uncluttered and visually calm. Don't generate anything else other than code like how it works or about the version like that generate only the code"), | |
| outputs=gr.Code(language="html"), | |
| title="Nithi's Multi-Agent Website Generator", | |
| description="ReSyncLogic Organic Fertilizer" | |
| ).launch() |