From 8f4ab67633231a96736da860861f35c044b30323 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Thu, 17 Aug 2023 17:46:16 +0300 Subject: Changed URL to something that works. Automatic download has been disabled and will come back when I find a persistent cloud hoster that is wget/curl friendly. Changes to be committed: modified: README.md modified: neuralart.py --- neuralart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'neuralart.py') diff --git a/neuralart.py b/neuralart.py index 7aab03e..349c989 100644 --- a/neuralart.py +++ b/neuralart.py @@ -33,7 +33,7 @@ n_instances = os.popen('ps aux | grep "python neuralart.py" | wc -l').read() if int(n_instances) > 3: print("Woah, running 2 or more instances of neural-art at the same time?\nThis is an experimental feature as of now... try it later favorably :3") ### check if there are any weights to use, if not, download the default provided ones -if int(os.popen('ls -l weights | wc -l').read()) == 1: os.system('wget -O "weights/vgg_conv_weights.pth" "https://m1.afileditch.ch/ajjMsHrRhnikrrCiUXgY.pth"') +#if int(os.popen('ls -l weights | wc -l').read()) == 1: os.system('wget -O "weights/vgg_conv_weights.pth" "https://m1.afileditch.ch/ajjMsHrRhnikrrCiUXgY.pth"') ### Defining neural architecture -- cgit v1.2.3