Error at runtime

#2
by ysharma HF staff - opened

File "/home/user/app/app.py", line 84, in run_sketching
curr_sketch_image = Image.fromarray(curr_sketch[:, :, 0]).resize((512, 512))
TypeError: unhashable type: 'slice'

Congratulations on your exciting demo! However, I encountered the above error while running the app. Here are the steps I followed: I drew a sketch and then clicked on the Generate button.

Thank you for the error report. This was due to some package version incompatibility. We have fixed the issue.

Thanks, and kudos, the demo now works like a charm! I was wondering if you'd like to add a description and usage instructions at the top of the demo. This would help the community explore and appreciate the demo.

Sign up or log in to comment