mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-06 11:35:49 +00:00
fix: drop print
This commit is contained in:
parent
843f21a227
commit
4add35f941
@ -73,7 +73,6 @@ class ChatGPT(Base):
|
|||||||
|
|
||||||
def translate(self, text):
|
def translate(self, text):
|
||||||
print(text)
|
print(text)
|
||||||
print(self.language, "!!!")
|
|
||||||
openai.api_key = self.key
|
openai.api_key = self.key
|
||||||
try:
|
try:
|
||||||
completion = openai.ChatCompletion.create(
|
completion = openai.ChatCompletion.create(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user