在提交 issue 之前,请先确认
使用的油猴扩展是?
Tampermonkey
使用的浏览器是?
firefox
问题会在哪个网页上出现?
https://exhentai.org/g/2090627/62a180a6cc/
问题是?
后台报错INFO: 127.0.0.1:5655 - "POST /translate/with-form/image/stream HTTP/1.1" 422 Unprocessable Entity

重新点击翻译也是一样,其他翻译正常的图都可以重新请求,但翻译出错的图不能正常重新请求。
不是manga-image-translator的问题,重启也没用。也不是图片问题,单独保存图片翻译都正常。
上传报错的接口参数里,上传的根本不是图片,而是一个 HTML 错误页。图片显示是正常的,这种时候需要手动重新加载图片,快捷键里的“重载当前错误图片”没反应,希望增加手动重载图片的功能,比如给图片末尾加个参数?t=123
------geckoformboundary8cde950d237ed077dd258103024d47b6
Content-Disposition: form-data; name="image"; filename="image.html; charset=utf-8"
Content-Type: text/html; charset=utf-8
Invalid request
------geckoformboundary8cde950d237ed077dd258103024d47b6
Content-Disposition: form-data; name="config"
{"detector":{"detector":"ctd","detection_size":"1536","box_threshold":0.7,"unclip_ratio":2.3},"render":{"direction":"auto"},"translator":{"translator":"caiyun","target_lang":"CHS"},"inpainter":{"inpainter":"lama_large","inpainting_size":"2048"},"mask_dilation_offset":30}
------geckoformboundary8cde950d237ed077dd258103024d47b6--

在提交 issue 之前,请先确认
使用的油猴扩展是?
Tampermonkey
使用的浏览器是?
firefox
问题会在哪个网页上出现?
https://exhentai.org/g/2090627/62a180a6cc/
问题是?
后台报错INFO: 127.0.0.1:5655 - "POST /translate/with-form/image/stream HTTP/1.1" 422 Unprocessable Entity

重新点击翻译也是一样,其他翻译正常的图都可以重新请求,但翻译出错的图不能正常重新请求。
不是manga-image-translator的问题,重启也没用。也不是图片问题,单独保存图片翻译都正常。
上传报错的接口参数里,上传的根本不是图片,而是一个 HTML 错误页。图片显示是正常的,这种时候需要手动重新加载图片,快捷键里的“重载当前错误图片”没反应,希望增加手动重载图片的功能,比如给图片末尾加个参数?t=123