mirror of
https://github.com/kennethreitz/simplemind.git
synced 2026-06-05 06:46:18 +00:00
Refactor translate_to_french function to use the correct conversation setup
This commit is contained in:
@@ -10,4 +10,4 @@ def translate_to_french(text: str) -> str:
|
||||
return conversation.send().text
|
||||
|
||||
|
||||
print(translate_to_french("Hello, world!"))
|
||||
print(translate_to_french("an omlette with cheese"))
|
||||
|
||||
Reference in New Issue
Block a user