mgokg commited on
Commit
842e9a3
·
verified ·
1 Parent(s): 2dde674

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ google_api_key = os.getenv('google_search')
72
  #API_URL = "https://blavken-flowiseblav.hf.space/api/v1/prediction/fbc118dc-ec00-4b59-acff-600648958be3"
73
 
74
  def query(payload):
75
- API_URL = f"https://www.bing.com/search?q={payload}"
76
  try:
77
  response = requests.get(API_URL)
78
  response.raise_for_status() # Raises HTTPError for bad responses
 
72
  #API_URL = "https://blavken-flowiseblav.hf.space/api/v1/prediction/fbc118dc-ec00-4b59-acff-600648958be3"
73
 
74
  def query(payload):
75
+ API_URL = f"https://www.google.com/search?q={payload}"
76
  try:
77
  response = requests.get(API_URL)
78
  response.raise_for_status() # Raises HTTPError for bad responses