Spaces:
Running
Running
Update app.py
Browse files
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
|
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}")
|