Makima57 commited on
Commit
4022207
·
verified ·
1 Parent(s): fcb1b89

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import requests
7
  # Function to perform Google search and return the first link
8
  def google_search(query):
9
  try:
10
- query = query + "/t site:https//realtor.ca"
11
  # Perform the search and get an iterator of results
12
  search_results = search(query, num_results=10) # Get up to 10 results
13
  first_link = next(search_results, None) # Get the first result
 
7
  # Function to perform Google search and return the first link
8
  def google_search(query):
9
  try:
10
+ query = query + "/t site:https://www.realtor.ca/"
11
  # Perform the search and get an iterator of results
12
  search_results = search(query, num_results=10) # Get up to 10 results
13
  first_link = next(search_results, None) # Get the first result