Spaces:
Running
Running
Update imgsearch.py
Browse files- imgsearch.py +1 -1
imgsearch.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import requests
|
2 |
from random import choice
|
3 |
-
from env import GOOGLE_API_KEY, CX
|
4 |
|
5 |
def search_img(term, orientation="landscape"):
|
6 |
_t = f"{orientation} image of {term}"
|
|
|
1 |
import requests
|
2 |
from random import choice
|
3 |
+
from env import GOOGLE_API_KEY, CX, IMSEARCH_API_KEY
|
4 |
|
5 |
def search_img(term, orientation="landscape"):
|
6 |
_t = f"{orientation} image of {term}"
|