Closed louis4work closed 4 months ago
Hi, thanks for your excellent work!
I have a question about the code for getting prompt_text_only: https://github.com/TencentARC/PhotoMaker/blob/3d5312add5bada9bf8756c857a3ea7413592e59a/photomaker/pipeline.py#L356-L360
prompt_text_only
I'm quite curious about why not just replace the trigger word with null character like:
prompt_text_only = prompt.replace("img", "")
Looking forward to hearing from you soon!
See this commit(https://github.com/TencentARC/PhotoMaker/issues/63) for more details
See this commit(#63) for more details
Thanks!
Hi, thanks for your excellent work!
I have a question about the code for getting
prompt_text_only
: https://github.com/TencentARC/PhotoMaker/blob/3d5312add5bada9bf8756c857a3ea7413592e59a/photomaker/pipeline.py#L356-L360I'm quite curious about why not just replace the trigger word with null character like:
Looking forward to hearing from you soon!