tyxsspa / AnyText

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

How to generate picture with Chinese #106

Open 2499048212 opened 1 month ago

2499048212 commented 1 month ago

Hi, I try to use your model to generate some pictures with Chinese poetry. But it occurs that the model can not generate Chinese characters and it will generate blank box instead. I tried your online domo and it works, but my local model can't perform well. I wonder why it happens 1_3

tyxsspa commented 1 month ago

same with this issue #16

2499048212 commented 1 month ago

I have tried several fonts, including official Arial and simsun in my own windows, but it doesn't work. I'm not sure whether the fonts are incomplete nor I've got other bugs. Could you please give some advice?

tyxsspa commented 1 month ago

try this: https://github.com/tyxsspa/AnyText/issues/19#issuecomment-1873704703