fix(space): bypass LLM enrichissement + prompt anglais direct SD
Browse files107 unmodified lines10810911011111211355 unmodified lines169170171172173174175176107 unmodified lines"height": 512,"model_profile": "sd35turbo","num_inference_steps": 8,}try:55 unmodified linesimage_url = upload_image(source_image)if request_mode in ("image", "video"):style_hint = "" if style_preset == "Aucun preset" else f", style {style_preset}"full_prompt = f"{cleaned_prompt}{style_hint}"status_text, generated_image = call_image_async(full_prompt)summary = "\n\n".join(filter(None, [f"**{status_text}**",107 unmodified lines10810911011111211311411555 unmodified lines171172173174175176177178179107 unmodified lines"height": 512,"model_profile": "sd35turbo","num_inference_steps": 8,"prompt_prebuilt": True,"skip_prompt_enrichment": True,}try:55 unmodified linesimage_url = upload_image(source_image)if request_mode in ("image", "video"):style_hint = "" if style_preset == "Aucun preset" else f", {style_preset} style"# Prompt en anglais direct pour SDfull_prompt = f"{cleaned_prompt}{style_hint}, high quality, detailed illustration"status_text, generated_image = call_image_async(full_prompt)summary = "\n\n".join(filter(None, [f"**{status_text}**",
app.py+5-2