Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
Update video model settings to use temperature=1.0 and max_output_tokens=50000
Abi Raja4b9121caa4af
diff --git a/backend/models/gemini.py b/backend/models/gemini.pyindex f7406664..2160d720 100644--- a/backend/models/gemini.py+++ b/backend/models/gemini.py@@ -301,8 +301,8 @@ async def stream_gemini_response_video(# Configure based on modelif model == Llm.GEMINI_3_FLASH_PREVIEW_HIGH:config = types.GenerateContentConfig(- temperature=0,- max_output_tokens=30000,+ temperature=1.0,+ max_output_tokens=50000,system_instruction=system_prompt,thinking_config=types.ThinkingConfig(thinking_level="high", include_thoughts=True@@ -310,8 +310,8 @@ async def stream_gemini_response_video()elif model == Llm.GEMINI_3_FLASH_PREVIEW_MINIMAL:config = types.GenerateContentConfig(- temperature=0,- max_output_tokens=30000,+ temperature=1.0,+ max_output_tokens=50000,system_instruction=system_prompt,thinking_config=types.ThinkingConfig(thinking_level="minimal", include_thoughts=True@@ -328,8 +328,8 @@ async def stream_gemini_response_video()elif model == Llm.GEMINI_3_PRO_PREVIEW_LOW:config = types.GenerateContentConfig(- temperature=0,- max_output_tokens=30000,+ temperature=1.0,+ max_output_tokens=50000,system_instruction=system_prompt,thinking_config=types.ThinkingConfig(thinking_level="low", include_thoughts=True@@ -338,8 +338,8 @@ async def stream_gemini_response_video(else:# Default config for other modelsconfig = types.GenerateContentConfig(- temperature=0,- max_output_tokens=20000,+ temperature=1.0,+ max_output_tokens=50000,system_instruction=system_prompt,)