mirror of
https://github.com/yihong0618/bilingual_book_maker.git
synced 2025-06-05 19:15:34 +00:00
fix: typos and apply black formatting
This commit is contained in:
parent
dffd5a5444
commit
2efa0e54a1
@ -320,7 +320,7 @@ So you are close to reaching the limit. You have to choose your own value, there
|
|||||||
"--interval",
|
"--interval",
|
||||||
type=float,
|
type=float,
|
||||||
default=0.01,
|
default=0.01,
|
||||||
help="Request interval in seconds (e.g., 0.1 for 100ms). Currently only supported for Gemini models. Deafult: 0.01",
|
help="Request interval in seconds (e.g., 0.1 for 100ms). Currently only supported for Gemini models. Default: 0.01",
|
||||||
)
|
)
|
||||||
|
|
||||||
options = parser.parse_args()
|
options = parser.parse_args()
|
||||||
|
@ -89,7 +89,7 @@ class Gemini(Base):
|
|||||||
system_instruction=self.prompt_sys_msg,
|
system_instruction=self.prompt_sys_msg,
|
||||||
)
|
)
|
||||||
self.convo = model.start_chat()
|
self.convo = model.start_chat()
|
||||||
# print(model) # Uncomment to debug and inspect the model details.
|
# print(model) # Uncomment to debug and inspect the model details.
|
||||||
|
|
||||||
def rotate_model(self):
|
def rotate_model(self):
|
||||||
self.model = next(self.model_list)
|
self.model = next(self.model_list)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user