seawolf2357 commited on
Commit
3bd6490
·
verified ·
1 Parent(s): 3bf3988

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from io import BytesIO
6
  # 구글 이미지 검색 함수
7
  def google_image_search(query):
8
  API_KEY = 'AIzaSyDUz3wkGal0ewRtPlzeMit88bV4hS4ZIVY'
9
- CX = '여기에_당신의_커스텀_검색엔진_ID를_입력하세요'
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)