Skip to content

Commit 15f72f9

Browse files
committed
[hotfix] gpt 모델 및 하이퍼파라미터 변경
1 parent d90db6e commit 15f72f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

everTale/app/service/image_service.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,10 @@ def load_lora(pipe_):
225225
}
226226

227227
GENRE_PARAMS = {
228-
"adventure": {"controlnet_conditioning_scale": 0.85, "guidance_scale": 12.5},
229-
"friendship": {"controlnet_conditioning_scale": 0.75, "guidance_scale": 11.5},
230-
"moral": {"controlnet_conditioning_scale": 0.80, "guidance_scale": 12.0},
231-
"family": {"controlnet_conditioning_scale": 0.78, "guidance_scale": 12.0},
228+
"adventure": {"controlnet_conditioning_scale": 0.8, "guidance_scale": 12.5},
229+
"friendship": {"controlnet_conditioning_scale": 0.8, "guidance_scale": 12.5},
230+
"moral": {"controlnet_conditioning_scale": 0.8, "guidance_scale": 12.5},
231+
"family": {"controlnet_conditioning_scale": 0.8, "guidance_scale": 12.5},
232232
}
233233

234234
_SCN_SYSTEM = (
@@ -287,7 +287,7 @@ def _cleanup_prompt(s: str, max_len: int = 320) -> str:
287287
def build_scene_prompt(prompt_main: str) -> str:
288288
try:
289289
resp = client.chat.completions.create(
290-
model="gpt-4o-mini",
290+
model="gpt-4o",
291291
temperature=0.6,
292292
messages=[
293293
{"role": "system", "content": _SCN_SYSTEM},

0 commit comments

Comments
 (0)