tyxsspa / AnyText

Official implementation code of the paper <AnyText: Multilingual Visual Text Generation And Editing>
Apache License 2.0
4.2k stars 279 forks source link

Text editing issue #89

Open ibou810 opened 3 months ago

ibou810 commented 3 months ago

Hello , Thank you for sharing your work Actually I have an issue regarding text editing. I want to run only the text editing part on some data that I have and I tried to use the inference code. The fact is when I run I have this error issu_at

I'm wondering where I can found the model "damo/cv_anytext_text_generation_editing" and the "my-anytext-task" and do I have to modify the pipeline.py code to be able to run the inference code ?

Thank you

tyxsspa commented 3 months ago

Hi, if you encounter proxy issues when downloading models from ModelScope, try to download them from HuggingFace by searching for "AnyText", where many copies have been uploaded there. Afterwards, update the model path to your local path of the cv_anytext_text_generation_editing folder here: https://github.com/tyxsspa/AnyText/blob/main/inference.py#L3