Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

Update generate_code.py

Abi Rajab8d6b9dfe91b
diff --git a/backend/routes/generate_code.py b/backend/routes/generate_code.py
index 757d4239..c1cec245 100644
--- a/backend/routes/generate_code.py
+++ b/backend/routes/generate_code.py
@@ -524,7 +524,7 @@ class VideoGenerationStage:
system_prompt=GEMINI_VIDEO_PROMPT,
api_key=gemini_api_key,
callback=lambda x: process_chunk(x, 0),
- model_name="gemini-3-flash-preview",
+ model_name="gemini-3-pro-preview (low thinking)",
thinking_callback=lambda x: process_thinking(x, 0),
)
]