Update app.py
Browse files
app.py
CHANGED
|
@@ -44,4 +44,4 @@ if text:
|
|
| 44 |
translation = tokenizer_translation.batch_decode(generated_tokens, skip_special_tokens=True)
|
| 45 |
st.json(translation)
|
| 46 |
else:
|
| 47 |
-
|
|
|
|
| 44 |
translation = tokenizer_translation.batch_decode(generated_tokens, skip_special_tokens=True)
|
| 45 |
st.json(translation)
|
| 46 |
else:
|
| 47 |
+
st.write('invalid choice!')
|