MCPcopy Create free account
hub / github.com/Hunyuan-PromptEnhancer/PromptEnhancer / prompt_enhancer

Function prompt_enhancer

t2i_keypoints_eval.py:140–142  ·  view source on GitHub ↗

Enhance a raw prompt. Replace with your own enhancer.

(prompt: str)

Source from the content-addressed store, hash-verified

138# Plug in your own prompt enhancer / T2I model here
139# --------------------------------------------------------------------------- #
140def prompt_enhancer(prompt: str) -> str:
141 """Enhance a raw prompt. Replace with your own enhancer."""
142 return prompt
143
144
145def text_to_image(prompt: str) -> str:

Callers 1

eval_sampleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected