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.pyindex 912d5635e2..78fe4ae252 100644--- a/scripts/browse.py+++ b/scripts/browse.py@@ -6,7 +6,6 @@ from urllib.parse import urlparse, urljoincfg = Config()-# Function to check if the URL is validdef is_valid_url(url):try:@@ -21,7 +20,6 @@ def sanitize_url(url):# Define and check for local file address prefixesdef check_local_file_access(url):- # Define and check for local file address prefixeslocal_prefixes = ['file:///', 'file://localhost', 'http://localhost', 'https://localhost']return any(url.startswith(prefix) for prefix in local_prefixes)