basantyahya commited on
Commit
b275102
·
verified ·
1 Parent(s): 4b8ce5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,8 +54,8 @@ def google_search_query(question):
54
  # question = "" if question is None else str(question)
55
  # question = question.strip()
56
 
57
- # if question is None:
58
- # return "Please type a question above 👆", ""
59
 
60
  google_search_tool = Tool(google_search=GoogleSearch())
61
 
 
54
  # question = "" if question is None else str(question)
55
  # question = question.strip()
56
 
57
+ if question is None:
58
+ return "Please type a question above 👆", ""
59
 
60
  google_search_tool = Tool(google_search=GoogleSearch())
61