mgokg commited on
Commit
08826a1
·
verified ·
1 Parent(s): 303a5ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def duckduckgo(search_term):
74
  s1 = response.text
75
  # Removing HTML tags using Beautiful Soup
76
  s2 = re.sub(r"<.*?>", "", s1)
77
- return s2
78
  #return response.text # Return the content of the response
79
  except requests.exceptions.RequestException as e:
80
  print(f"An error occurred: {e}")
 
74
  s1 = response.text
75
  # Removing HTML tags using Beautiful Soup
76
  s2 = re.sub(r"<.*?>", "", s1)
77
+ return s1
78
  #return response.text # Return the content of the response
79
  except requests.exceptions.RequestException as e:
80
  print(f"An error occurred: {e}")