Yoel125 commited on
Commit
36b307e
·
verified ·
1 Parent(s): e0a0485

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def gradio_interface(text_input):
50
  if not text_input or text_input.strip() == "":
51
  return None, "Please enter a description."
52
  if any(char.isdigit() for char in text_input):
53
- return None, "Can't put a number! Please write a bird type."
54
 
55
  try:
56
  english_query = translator.translate(text_input)
 
50
  if not text_input or text_input.strip() == "":
51
  return None, "Please enter a description."
52
  if any(char.isdigit() for char in text_input):
53
+ return None, "Can't put a number! Please write a bird type (example: Blue Bird)."
54
 
55
  try:
56
  english_query = translator.translate(text_input)