add requirements
Browse files- .gitignore +1 -0
- main.py +1 -1
.gitignore
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
.idea/
|
4 |
|
5 |
flagged/
|
|
|
6 |
hub_datasets/
|
7 |
|
8 |
**/__pycache__/
|
|
|
3 |
.idea/
|
4 |
|
5 |
flagged/
|
6 |
+
gradio_cached_examples/
|
7 |
hub_datasets/
|
8 |
|
9 |
**/__pycache__/
|
main.py
CHANGED
@@ -41,7 +41,7 @@ def main():
|
|
41 |
)
|
42 |
result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
|
43 |
|
44 |
-
return result
|
45 |
|
46 |
title = "Multilingual Machine Translation"
|
47 |
|
|
|
41 |
)
|
42 |
result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
|
43 |
|
44 |
+
return result[0]
|
45 |
|
46 |
title = "Multilingual Machine Translation"
|
47 |
|