Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,8 @@ google_api_key = os.getenv('google_search')
|
|
74 |
def query(payload):
|
75 |
API_URL = f"https://www.bing.com/search?q={payload}"
|
76 |
response = requests.get(API_URL)
|
77 |
-
|
|
|
78 |
|
79 |
def querys(payloads):
|
80 |
output = query(payloads)
|
|
|
74 |
def query(payload):
|
75 |
API_URL = f"https://www.bing.com/search?q={payload}"
|
76 |
response = requests.get(API_URL)
|
77 |
+
print(response)
|
78 |
+
return response.text
|
79 |
|
80 |
def querys(payloads):
|
81 |
output = query(payloads)
|