Refactoring code since context manager is not supported.
rudranshsharma123 opened this issue · 3 comments
rudranshsharma123 commented
I believe lines
This:
examples/cross-modal-search/dataset.py
Line 120 in 6138e00
and this:
examples/cross-modal-search/dataset.py
Line 115 in 6138e00
needs to be changed since Jina does not support context manager anymore.
Because following the example yields this issue:
I believe that's the only thing that needs to be changed.
rudranshsharma123 commented
I believe these two lines only need change. If I am correct I would like to be the one to close and make my contribution to this project!
bwanglzu commented
@rudranshsharma123 do it!
rudranshsharma123 commented
I think it's fixed and I did the workflow correctly. Feel free to correct me if I am wrong (I am still new to all this)