Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from io import BytesIO
|
|
6 |
# 구글 이미지 검색 함수
|
7 |
def google_image_search(query):
|
8 |
API_KEY = 'AIzaSyDUz3wkGal0ewRtPlzeMit88bV4hS4ZIVY'
|
9 |
-
CX = '
|
10 |
URL = f"https://www.googleapis.com/customsearch/v1?q={query}&cx={CX}&searchType=image&key={API_KEY}"
|
11 |
|
12 |
response = requests.get(URL)
|
|
|
6 |
# 구글 이미지 검색 함수
|
7 |
def google_image_search(query):
|
8 |
API_KEY = 'AIzaSyDUz3wkGal0ewRtPlzeMit88bV4hS4ZIVY'
|
9 |
+
CX = '56b34994f47704ddd'
|
10 |
URL = f"https://www.googleapis.com/customsearch/v1?q={query}&cx={CX}&searchType=image&key={API_KEY}"
|
11 |
|
12 |
response = requests.get(URL)
|