Spaces:
Running
Running
Increase prompt length
Browse files
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=
|
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,
|