Spaces:
Sleeping
Sleeping
thugCodeNinja
commited on
Commit
•
2f90a0b
1
Parent(s):
9f25ef2
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def process_text(input_text):
|
|
31 |
query = text
|
32 |
api_key = 'AIzaSyClvkiiJTZrCJ8BLqUY9I38WYmbve8g-c8'
|
33 |
search_engine_id = '53d064810efa44ce7'
|
34 |
-
url = f'https://www.googleapis.com/customsearch/v1?key={api_key}&cx={search_engine_id}&q={query}'
|
35 |
|
36 |
try:
|
37 |
response = requests.get(url)
|
|
|
31 |
query = text
|
32 |
api_key = 'AIzaSyClvkiiJTZrCJ8BLqUY9I38WYmbve8g-c8'
|
33 |
search_engine_id = '53d064810efa44ce7'
|
34 |
+
url = f'https://www.googleapis.com/customsearch/v1?key={api_key}&cx={search_engine_id}&q={query}&num=5'
|
35 |
|
36 |
try:
|
37 |
response = requests.get(url)
|