CobaltZvc commited on
Commit
8274878
1 Parent(s): 7893023

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -49,7 +49,7 @@ if prompt:
49
  "engine": "google_shopping",
50
  "google_domain": "google.com",
51
  "q": text,
52
- "api_key": "401d14e0fc7ad849425b1ab8173d433c0193675d9475a6d92433d5c811daef5a" #"5fab2158fd9fa6cb16925fd2ae13dc7d62d369d3b882074a8ab5a1a7225a034c" #"b8d49a5c3c62ba62246db77325afba425c5caf490079cc213c10d920006f4d92" "47e0ad25f66753bef13f195a4700f446bde4100454876d5ac6445c3822814b7b"
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": "401d14e0fc7ad849425b1ab8173d433c0193675d9475a6d92433d5c811daef5a" #"5fab2158fd9fa6cb16925fd2ae13dc7d62d369d3b882074a8ab5a1a7225a034c" #"b8d49a5c3c62ba62246db77325afba425c5caf490079cc213c10d920006f4d92"#"5fab2158fd9fa6cb16925fd2ae13dc7d62d369d3b882074a8ab5a1a7225a034c" #"47e0ad25f66753bef13f195a4700f446bde4100454876d5ac6445c3822814b7b"
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": "401d14e0fc7ad849425b1ab8173d433c0193675d9475a6d92433d5c811daef5a" #"5fab2158fd9fa6cb16925fd2ae13dc7d62d369d3b882074a8ab5a1a7225a034c" #"b8d49a5c3c62ba62246db77325afba425c5caf490079cc213c10d920006f4d92"#"5fab2158fd9fa6cb16925fd2ae13dc7d62d369d3b882074a8ab5a1a7225a034c" #"47e0ad25f66753bef13f195a4700f446bde4100454876d5ac6445c3822814b7b"
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)