Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,4 +57,7 @@ def translate_text(text, prefix, tokenizer, model):
|
|
57 |
|
58 |
def display_translation(translations, language):
|
59 |
st.write(f"\nLanguage: {language}")
|
60 |
-
st.write(f"Translation:\n {' '.join(translations)}")
|
|
|
|
|
|
|
|
57 |
|
58 |
def display_translation(translations, language):
|
59 |
st.write(f"\nLanguage: {language}")
|
60 |
+
st.write(f"Translation:\n {' '.join(translations)}")
|
61 |
+
|
62 |
+
if __name__ == "__main__":
|
63 |
+
main()
|