Refactor translate_to_french function to use the correct conversation setup

This commit is contained in:
2024-10-29 12:19:29 -04:00
parent 3c4ed48786
commit 641de59138
+1 -1
View File
@@ -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"))