MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / buffered_writer

Function buffered_writer

diffusers/src/diffusers/utils/export_utils.py:22–25  ·  view source on GitHub ↗
(raw_f)

Source from the content-addressed store, hash-verified

20
21@contextmanager
22def buffered_writer(raw_f):
23 f = io.BufferedWriter(raw_f)
24 yield f
25 f.flush()
26
27
28def export_to_gif(image: List[PIL.Image.Image], output_gif_path: str = None, fps: int = 10) -> str:

Callers 1

export_to_plyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected