So this line of code downloads files to my google drive. Specifically, in this example it places a Stable Diffusion model into a specific folder in my google drive.
!cd /content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion; wget https://huggingface.co/stabilityai/sdxl-turbo/resolve/main/sd_xl_turbo_1.0.safetensors?download=true --content-disposition
But! This alternative creating variables using a user input doesn’t work, and I can’t figure out why…
Contents_Folder = "/content/gdrive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion" #@param {type:"string"}
Model_URL = "https://huggingface.co/stabilityai/stable-video-diffusion-img2vid/resolve/main/svd.safetensors?download=true" #@param {type:"string"}
!cd Contents_Folder; wget Model_URL --content-disposition
The error I get is the following:
/bin/bash: line 1: cd: Contents_Folder: No such file or directory
--2023-12-10 12:29:18-- http://model_url/
Resolving model_url (model_url)... failed: Name or service not known.
wget: unable to resolve host address ‘model_url’
What am I doing wrong?
Note: Beginner’s question, new to colab and Python