mpt4b / app.py
abdullah040's picture
Update app.py
18fff49
raw
history blame
326 Bytes
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}")