Skip to content

Commit c08cc39

Browse files
committed
Added small fix on space ASL character
1 parent e7ade9e commit c08cc39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def translate():
8181
print(filename)
8282
os.remove(file_path)
8383

84-
translation_string = "".join(all_translations)
84+
translation_string = "".join(" " if item == "space" else item for item in all_translations)
8585
final_translation = ai.call_openai_model(translation_string)
8686
print(final_translation.content)
8787

0 commit comments

Comments
 (0)