Spaces:
Sleeping
Sleeping
lodhrangpt
commited on
Commit
•
b2ffe46
1
Parent(s):
3daa2d3
Update app.py
Browse files
app.py
CHANGED
@@ -15,22 +15,22 @@ def translate_text(text, target_language):
|
|
15 |
|
16 |
# Define available languages
|
17 |
languages = {
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
}
|
35 |
|
36 |
|
|
|
15 |
|
16 |
# Define available languages
|
17 |
languages = {
|
18 |
+
"english": "English",
|
19 |
+
"spanish": "Spanish",
|
20 |
+
"french": "French",
|
21 |
+
"german": "German",
|
22 |
+
"chinese": "Chinese (Mandarin)",
|
23 |
+
"japanese": "Japanese",
|
24 |
+
"korean": "Korean",
|
25 |
+
"italian": "Italian",
|
26 |
+
"portuguese": "Portuguese",
|
27 |
+
"russian": "Russian",
|
28 |
+
"hindi": "Hindi",
|
29 |
+
"arabic": "Arabic",
|
30 |
+
"dutch": "Dutch",
|
31 |
+
"turkish": "Turkish",
|
32 |
+
"greek": "Greek",
|
33 |
+
"urdu": "Urdu"
|
34 |
}
|
35 |
|
36 |
|