deepugaur commited on
Commit
f151e95
·
verified ·
1 Parent(s): 8c0610d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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