diffsketchedit / handler.py

Commit History

Fix: Remove local json import that was causing variable scope issues
9391275
verified

jree423 commited on

Fix: Improve input parsing and error handling for complex input structures
e124116
verified

jree423 commited on

Fix: Correct EndpointHandler class name and add robust error handling for model loading
b6bfd0d
verified

jree423 commited on

Major update: Implement real DiffSketchEdit algorithm with word replacement, refinement, and attention reweighting
f9319c0
verified

jree423 commited on

Fix handler to return PIL Images instead of dictionaries for HF API compatibility
ad55c44
verified

jree423 commited on

Fix DiffSketchEdit handler to properly implement text-based vector sketch editing
b0efdb8
verified

jree423 commited on

Force upload fresh AI handler - sophisticated prompt-aware generation
26a4cfd
verified

jree423 commited on

Delete handler.py with huggingface_hub
09af197
verified

jree423 commited on

Update handler with functional sketch editing
1229b1a
verified

jree423 commited on

Fix serialization: Return PIL.Image directly instead of list
1fa9877
verified

jree423 commited on

Update with minimal dependencies (torch, torchvision, Pillow, numpy only)
c4393e9
verified

jree423 commited on

Update with actual DiffSketchEdit model integration and comprehensive dependencies
173b929
verified

jree423 commited on

Update handler to return PIL Images for Inference API compatibility
f992885
verified

jree423 commited on

Fix EndpointHandler class name and remove PIL dependencies
788ea1a
verified

jree423 commited on

Upload folder using huggingface_hub
697ad7a
verified

jree423 commited on

Upload folder using huggingface_hub
2f39322
verified

jree423 commited on

Upload folder using huggingface_hub
17c7dd3
verified

jree423 commited on

Upload handler.py with huggingface_hub
01c9435
verified

jree423 commited on

Upload handler.py with huggingface_hub
6194b42
verified

jree423 commited on