oort commited on
Commit
3e30e7d
·
verified ·
1 Parent(s): 93faa3f

Increase prompt length

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ def create_prompt_for_image_generation(user_prompt: str) -> str:
69
  Output only the final prompt without any comments or introduction.
70
  """
71
  model = HfApiModel(
72
- max_tokens=256,
73
  temperature=1.0,
74
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
75
  # custom_role_conversions=None,
 
69
  Output only the final prompt without any comments or introduction.
70
  """
71
  model = HfApiModel(
72
+ max_tokens=384,
73
  temperature=1.0,
74
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
75
  # custom_role_conversions=None,