Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ with col3:
|
|
64 |
|
65 |
|
66 |
if text:
|
67 |
-
|
68 |
-
|
69 |
st.write(translated_text[0] if translated_text else "Unknown Error Translating Text")
|
70 |
|
|
|
64 |
|
65 |
|
66 |
if text:
|
67 |
+
model, tokenizer = load_model()
|
68 |
+
translated_text = deuncase(model, tokenizer, text)
|
69 |
st.write(translated_text[0] if translated_text else "Unknown Error Translating Text")
|
70 |
|