Any way to install transformers in a PR branch?
Currently, my PR onFlaxVisionEncoderDecoderModelis not merged totransformers masteryet. But I can’t wait to update my poor-french-image-captioning Spaces demo app.So I need togit clone https://github.com/ydshieh/transformers.git
cd transformers
git checkout flax_vision_encoder_decoder
pip install --upgrade .[dev]Is this doable in Spaces currently? I can probably upload a copy oftransformersto avoidgitpart, but still needpip install.Otherwise, I think I can still figure out a hard way to make the demo work.
2021-10-22T16:16:27Z
I saw that we can specify the branch/fork in therequirements.txt, I will give it a try.
2021-10-22T19:50:55Z
Hey@ydshiehDoes thisthreadon stackoverflow help?
2021-10-22T21:59:29Z
Thanks,@ariG23498, I searched and found addinggit+https://github.com/ydshieh/transformers.git@flax_vision_encoder_decoderrequirements.txt works well