Comments (2)
這個問題是由於開發者指定的ai model失效了,先找到:.././translators/chatgpt.py,然後到class GPT35TurboTranslator
的下方區域中找到以下代碼:
response = await openai.ChatCompletion.acreate(
model='gpt-3.5-turbo-0613',
messages=messages,
max_tokens=self._MAX_TOKENS // 2,
temperature=self.temperature,
top_p=self.top_p,
)
把'gpt-3.5-turbo-0613'改成'gpt-3.5-turbo'應該就能解決問題。
from manga-image-translator.
请先更新再问,仓库里早就更新了gpt3.5版本了https://github.com/zyddnys/manga-image-translator/blob/main/manga_translator/translators/chatgpt.py#L276
from manga-image-translator.
Related Issues (20)
- [Bug]: ERROR: [web_client] ChunkedEncodingError 在添加--ocr mocr无法获取到manga-orc HOT 2
- [Bug]: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pydensecrf)
- [Bug]: Please update docker image
- https://cotrans.touhou.ai/ server down?
- [Bug]: 为什么没有GPT3.5 和 GPT4的选项 HOT 1
- [Bug]: ERROR: [web_client] AttributeError: module 'openai' has no attribute 'AsyncOpenAI' HOT 1
- [Bug]: windows系统openai库0.28版本没有AsyncOpenAI模块导致不能使用chatgpt、sakura等进行翻译 HOT 11
- [Dev request]: propose to remove poetry HOT 2
- [Bug]: signature of "_infer" method in "model_48px.py"
- [Bug]: 请问这是怎那么了 HOT 6
- [Bug]: centOS7安装后,也会提示:module 'openai' has no attribute 'AsyncOpenAI' HOT 5
- [Feature Request]: 能设置或添加不要字体白包边或者黑色包边吗 HOT 19
- [Feature Request]:Using the Whole Bubble
- [Bug]: 并发问题 HOT 6
- [Feature Request]: gp4o mini 來了 HOT 4
- [Bug]: UserScript dont work on Twitter HOT 1
- [Bug]: GPT4o-mini is not GPT4o
- [Feature Request]: Update Sugoi to use Offline Translator API to Leverage the massive V9 performance gains
- [Feature Request]: 增加InternVL 2.0模型 HOT 1
- [Bug]: window无法使用预编译文件安装pydensecrf HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manga-image-translator.