mudassir032 commited on
Commit
7041c04
·
verified ·
1 Parent(s): 060112f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ client = Groq()
12
  def enhance_prompt(user_prompt):
13
  response = client.chat.completions.create(
14
  model="qwen-2.5-32b",
15
- messages=[{"role": "system", "content": "Enhance the given logo description to make it more detailed and creative, don't make it larger than 5 lines. Try to make the text in the image more detailed."},
16
  {"role": "user", "content": user_prompt}],
17
  temperature=0.6,
18
  max_completion_tokens=4096,
 
12
  def enhance_prompt(user_prompt):
13
  response = client.chat.completions.create(
14
  model="qwen-2.5-32b",
15
+ messages=[{"role": "system", "content": "Enhance the given logo description to make it more detailed and creative, don't make it larger than 5 lines, don't add any extra details such as name if not provided in the orignal prompt and make the prompt humane in simple words. Try to make the text in the image more detailed."},
16
  {"role": "user", "content": user_prompt}],
17
  temperature=0.6,
18
  max_completion_tokens=4096,