lodhrangpt commited on
Commit
b2ffe46
1 Parent(s): 3daa2d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -15,22 +15,22 @@ def translate_text(text, target_language):
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
 
 
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