-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
May I ask how to maintain modifications to the model code file? #111
Comments
try modify this file instead: |
No, not |
keep the default value of |
I see, Thank U so much! I only need to modify this file instead: and keep |
When I try to change the code in '/path/to/.cache/modelscope/modelscope_modules/cv_anytext_text_generation_editing/ms_wrapper.py', I found it would be downloaded from modelscope every time, so the modifications are covered.
and i try to change the source code
pipe = pipeline('my-anytext-task', model='damo/cv_anytext_text_generation_editing', model_revision='v1.1.3')
to use local path
pipe = pipeline('my-anytext-task', model='/path/to/.cache/modelscope/modelscope_modules/cv_anytext_text_generation_editing', model_revision='v1.1.3')
It turns out as following:
Hope you can provide me some advice, THX a lot ❤️
The text was updated successfully, but these errors were encountered: