Spaces:
Runtime error
Runtime error
Update app.py
Browse files22 unmodified lines2324252627282922 unmodified linesReturn bounding boxes as a JSON array with labels. Never return masks or code fencing. Limit to 25 objects.If an object is present multiple times, name them according to their unique characteristic (colors, size, position, unique characteristics, etc..)."""model = genai.GenerativeModel( model_name='gemini-2.5-flash', system_instruction=bounding_box_system_instructions , safety_settings=[ types.SafetySetting( category="HARM_CATEGORY_DANGEROUS_CONTENT", threshold="BLOCK_ONLY_HIGH", ) ],)generation_config = genai.types.GenerationConfig(temperature=0.5,22 unmodified lines2324252627282922 unmodified linesReturn bounding boxes as a JSON array with labels. Never return masks or code fencing. Limit to 25 objects.If an object is present multiple times, name them according to their unique characteristic (colors, size, position, unique characteristics, etc..)."""model = genai.GenerativeModel( model_name='gemini-2.5-flash', system_instruction=bounding_box_system_instructions , safety_settings=[ types.SafetySettingDict( category="HARM_CATEGORY_DANGEROUS_CONTENT", threshold="BLOCK_ONLY_HIGH", ) ],)generation_config = genai.types.GenerationConfig(temperature=0.5,
app.py+1-1