MCPcopy Create free account
hub / github.com/OpenGVLab/DragGAN / on_reset

Function on_reset

gradio_app.py:102–103  ·  view source on GitHub ↗
(points, image, state)

Source from the content-addressed store, hash-verified

100
101
102def on_reset(points, image, state):
103 return {'target': [], 'handle': []}, state['img'], False
104
105
106def on_undo(points, image, state, size):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected