utkarsh134 commited on
Commit
cf9d16f
·
verified ·
1 Parent(s): 0357d3b

Update app/services/logo_service.py

Browse files
Files changed (1) hide show
  1. app/services/logo_service.py +1 -2
app/services/logo_service.py CHANGED
@@ -17,10 +17,9 @@ def get_logo_prompts(brand_name: str, domain: str, primary_color: str, secondary
17
  f"Create a creative and unique vector logo in SVG format for {brand_name}, focusing on {domain} solutions. {color_scheme}. Think outside the box with an unexpected symbol or a clever visual metaphor.",
18
  f"Generate a modern vector logo in SVG format for {brand_name}, within the {domain} sector. {color_scheme}. Consider using geometric shapes and clean lines.",
19
  f"Create a minimal vector logo in SVG format for {brand_name}, operating in the {domain} space. {color_scheme}. Focus on simple, memorable design elements.",
20
- f"Design an abstract vector logo in SVG format for {brand_name}, related to {domain}. {color_scheme}. Focus on conveying the essence of the brand through non-literal imagery.",
21
  ]
22
 
23
- def generate_logos(brand_name: str, domain: str, primary_color: str, secondary_color: str | None = None, tertiary_color: str | None = None, variation_count: int = 5) -> List[Dict]:
24
  api_key = settings.GEMINI_API_KEY
25
  client = genai.Client(api_key=api_key)
26
  prompts = get_logo_prompts(brand_name, domain, primary_color, secondary_color, tertiary_color)[:variation_count]
 
17
  f"Create a creative and unique vector logo in SVG format for {brand_name}, focusing on {domain} solutions. {color_scheme}. Think outside the box with an unexpected symbol or a clever visual metaphor.",
18
  f"Generate a modern vector logo in SVG format for {brand_name}, within the {domain} sector. {color_scheme}. Consider using geometric shapes and clean lines.",
19
  f"Create a minimal vector logo in SVG format for {brand_name}, operating in the {domain} space. {color_scheme}. Focus on simple, memorable design elements.",
 
20
  ]
21
 
22
+ def generate_logos(brand_name: str, domain: str, primary_color: str, secondary_color: str | None = None, tertiary_color: str | None = None, variation_count: int = 4) -> List[Dict]:
23
  api_key = settings.GEMINI_API_KEY
24
  client = genai.Client(api_key=api_key)
25
  prompts = get_logo_prompts(brand_name, domain, primary_color, secondary_color, tertiary_color)[:variation_count]