Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ if prompt:
|
|
49 |
"engine": "google_shopping",
|
50 |
"google_domain": "google.com",
|
51 |
"q": text,
|
52 |
-
"api_key": "
|
53 |
}
|
54 |
|
55 |
search = GoogleSearch(params)
|
@@ -81,7 +81,7 @@ if prompt:
|
|
81 |
"q": "Pharmacies",
|
82 |
"ll": "@" + str(coordinates[0]) + "," + str(coordinates[1]) + ",15.1z",
|
83 |
"type": "search",
|
84 |
-
"api_key": "
|
85 |
}
|
86 |
|
87 |
search = GoogleSearch(params)
|
@@ -101,7 +101,7 @@ if prompt_med:
|
|
101 |
"q": f"{prompt_med} medicine",
|
102 |
"hl": "en",
|
103 |
# "gl": "in",
|
104 |
-
"api_key": "
|
105 |
}
|
106 |
|
107 |
search = GoogleSearch(params)
|
|
|
49 |
"engine": "google_shopping",
|
50 |
"google_domain": "google.com",
|
51 |
"q": text,
|
52 |
+
"api_key": st.secrets["GOOGLE_API"]
|
53 |
}
|
54 |
|
55 |
search = GoogleSearch(params)
|
|
|
81 |
"q": "Pharmacies",
|
82 |
"ll": "@" + str(coordinates[0]) + "," + str(coordinates[1]) + ",15.1z",
|
83 |
"type": "search",
|
84 |
+
"api_key": st.secrets["GOOGLE_API"]
|
85 |
}
|
86 |
|
87 |
search = GoogleSearch(params)
|
|
|
101 |
"q": f"{prompt_med} medicine",
|
102 |
"hl": "en",
|
103 |
# "gl": "in",
|
104 |
+
"api_key": st.secrets["GOOGLE_API"]
|
105 |
}
|
106 |
|
107 |
search = GoogleSearch(params)
|