MCPcopy Index your code
hub / github.com/OpenGVLab/DragGAN / on_reset

Function on_reset

draggan/deprecated/web.py:114–115  ·  view source on GitHub ↗
(points, image, state)

Source from the content-addressed store, hash-verified

112
113
114def on_reset(points, image, state):
115 return {'target': [], 'handle': []}, to_image(state['sample']), False
116
117
118def on_undo(points, image, state, size):

Callers

nothing calls this directly

Calls 1

to_imageFunction · 0.70

Tested by

no test coverage detected