hayabhay / frogbase

Transform audio-visual content into navigable knowledge.
https://frogbase.dev
MIT License
781 stars 95 forks source link

fix issue about media file upload #66

Closed D3fense closed 1 year ago

D3fense commented 1 year ago

Hello, This is a correction proposal for #64 The function for adding a local media file to the Frogbase database (__add_from_disk) copies the file to the temporary directory when using the web UI. Once loaded, the file is no longer there, but it is referenced, which causes the error (FileNotFoundError: [Errno 2] No such file or directory).

hayabhay commented 1 year ago

Thank you for the flag & fix! Looks good!