fix resolution if reload webpage (#86)

Signed-off-by: mymusise <mymusise1@gmail.com>
This commit is contained in:
Chengxi Guo 2025-03-04 16:41:03 +08:00 committed by GitHub
parent 9d54043a67
commit 5cb59ec52b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,6 +80,7 @@ def load_model(value):
)
print("done", flush=True)
return '480P'
return value
def prompt_enc(prompt, img, tar_lang):