Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
add for debugging
Abi Rajaf18724104c2a
diff --git a/backend/routes/generate_code.py b/backend/routes/generate_code.pyindex e7186fcd..6780dbe5 100644--- a/backend/routes/generate_code.py+++ b/backend/routes/generate_code.py@@ -21,7 +21,7 @@ import jsonfrom prompts.claude_prompts import VIDEO_PROMPTfrom prompts.types import Stack-# from utils import pprint_prompt+from utils import pprint_promptfrom video.utils import extract_tag_content, assemble_claude_prompt_videofrom ws.constants import APP_ERROR_WEB_SOCKET_CODE # type: ignore@@ -210,7 +210,7 @@ async def stream_code(websocket: WebSocket):video_data_url = params["image"]prompt_messages = await assemble_claude_prompt_video(video_data_url)- # pprint_prompt(prompt_messages) # type: ignore+ pprint_prompt(prompt_messages) # type: ignoreif SHOULD_MOCK_AI_RESPONSE:completion = await mock_completion(