Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def Translation_Text(text, destination_language):
|
|
| 24 |
# with open('../Files/language.json', 'r') as file:
|
| 25 |
# language_data = json.load(file)
|
| 26 |
|
| 27 |
-
|
| 28 |
language_data = json.load(file)
|
| 29 |
|
| 30 |
# Find and return the corresponding FLORES-200 code
|
|
|
|
| 24 |
# with open('../Files/language.json', 'r') as file:
|
| 25 |
# language_data = json.load(file)
|
| 26 |
|
| 27 |
+
with open('language.json', 'r') as file:
|
| 28 |
language_data = json.load(file)
|
| 29 |
|
| 30 |
# Find and return the corresponding FLORES-200 code
|