From f429a7708bf85fc46742d1400531e33bfc42856d Mon Sep 17 00:00:00 2001 From: Suraj Jha Date: Mon, 4 Aug 2025 11:58:10 +0545 Subject: [PATCH] update: prompt enahancement for layout generation --- servers/fastapi/api/v1/ppt/endpoints/prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/fastapi/api/v1/ppt/endpoints/prompts.py b/servers/fastapi/api/v1/ppt/endpoints/prompts.py index 57fe8a9e..6554d6ec 100644 --- a/servers/fastapi/api/v1/ppt/endpoints/prompts.py +++ b/servers/fastapi/api/v1/ppt/endpoints/prompts.py @@ -10,7 +10,7 @@ Follow these rules strictly: - Properly export shapes as exact SVG. - Add relevant font in tailwind to all texts. - Wrap the output code inside these classes: \"relative w-full rounded-sm max-w-[1280px] shadow-lg max-h-[720px] aspect-video bg-white relative z-20 mx-auto overflow-hidden\". -- For image use this one: /static/images/placeholder.jpg +- For image everywhere use /static/images/placeholder.jpg - Image should never be inside of a SVG. - Give out only HTML and Tailwind code. No other texts or explanations. """