diff --git a/subgen.py b/subgen.py index a81bc9b..70b2e4c 100644 --- a/subgen.py +++ b/subgen.py @@ -42,7 +42,7 @@ def get_env_variables_from_file(filename): print(f"File {filename} not found. Using default values.") return env_vars -def set_env_variables_from_file(filename): +def set_env_variables(filename): try: with open(filename, 'r') as file: for line in file: @@ -96,7 +96,7 @@ def update_env_variables(): if transcribe_device == "gpu": transcribe_device = "cuda" - set_env_variables_from_file('subgen.env') + set_env_variables('subgen.env') update_env_variables() @@ -232,7 +232,7 @@ def form_get(): html_content += f"" html_content += "
" else: - html_content += f"" + html_content += f"" html_content += "
" return html_content