diff --git a/code/translate.py b/code/translate.py index 45eccdd..34d366c 100644 --- a/code/translate.py +++ b/code/translate.py @@ -55,8 +55,10 @@ def continously_translate(): val_dict['content_en'] = content_en # upload to database insert_translated(val_dict) + print('translated content') print('no more untranslated content located') if __name__ == '__main__': + load_dotenv() continously_translate() # later try to set all empty strings back to null and retranslate failed...