Skip to content

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

Python

revert debugging statements

Abi Raja402a279eaf70
diff --git a/backend/routes/generate_code.py b/backend/routes/generate_code.py
index 6780dbe5..e7186fcd 100644
--- a/backend/routes/generate_code.py
+++ b/backend/routes/generate_code.py
@@ -21,7 +21,7 @@ import json
from prompts.claude_prompts import VIDEO_PROMPT
from prompts.types import Stack
-from utils import pprint_prompt
+# from utils import pprint_prompt
from video.utils import extract_tag_content, assemble_claude_prompt_video
from 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: ignore
if SHOULD_MOCK_AI_RESPONSE:
completion = await mock_completion(