Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ def translate_word(word):
|
|
| 10 |
# Check if word starts with a vowel
|
| 11 |
if word[0].lower() in 'aeiou':
|
| 12 |
if now_ist.hour == 21 and now_ist.minute < 60:
|
|
|
|
| 13 |
return "Error: Words starting with vowels cannot be translated between 9 PM and 10 PM IST"
|
| 14 |
|
| 15 |
|
|
|
|
| 10 |
# Check if word starts with a vowel
|
| 11 |
if word[0].lower() in 'aeiou':
|
| 12 |
if now_ist.hour == 21 and now_ist.minute < 60:
|
| 13 |
+
|
| 14 |
return "Error: Words starting with vowels cannot be translated between 9 PM and 10 PM IST"
|
| 15 |
|
| 16 |
|