Spaces:
Runtime error
Runtime error
import urllib.request | |
url = 'https://gpt4all.io/models/ggml-mpt-7b-chat.bin' | |
filename = 'ggml-mpt-7b-chat.bin' | |
try: | |
# Download the file | |
urllib.request.urlretrieve(url, filename) | |
print(f"Successfully downloaded '{filename}'") | |
except Exception as e: | |
print(f"An error occurred while downloading the file: {e}") | |