Spaces:
Running
Running
Update prompt
Browse files
app.py
CHANGED
@@ -65,9 +65,11 @@ def create_prompt_for_image_generation(user_prompt: str) -> str:
|
|
65 |
The perspective is slightly elevated as if viewed from a drone camera at sunrise,
|
66 |
capturing golden hour lighting for soft shadows and warm highlights.
|
67 |
The aspect ratio is 1:1, output format JPG, high quality, using seed 42 for reproducibility.
|
|
|
|
|
68 |
"""
|
69 |
model = HfApiModel(
|
70 |
-
max_tokens=
|
71 |
temperature=1.0,
|
72 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
73 |
# custom_role_conversions=None,
|
|
|
65 |
The perspective is slightly elevated as if viewed from a drone camera at sunrise,
|
66 |
capturing golden hour lighting for soft shadows and warm highlights.
|
67 |
The aspect ratio is 1:1, output format JPG, high quality, using seed 42 for reproducibility.
|
68 |
+
|
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,
|