Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

minor style

Itamar Friedman57bca3620eb5
diff --git a/scripts/browse.py b/scripts/browse.py
index 912d5635e2..78fe4ae252 100644
--- a/scripts/browse.py
+++ b/scripts/browse.py
@@ -6,7 +6,6 @@ from urllib.parse import urlparse, urljoin
cfg = Config()
-
# Function to check if the URL is valid
def is_valid_url(url):
try:
@@ -21,7 +20,6 @@ def sanitize_url(url):
# Define and check for local file address prefixes
def check_local_file_access(url):
- # Define and check for local file address prefixes
local_prefixes = ['file:///', 'file://localhost', 'http://localhost', 'https://localhost']
return any(url.startswith(prefix) for prefix in local_prefixes)