neuroama commited on
Commit
f9d0dfe
·
1 Parent(s): 6a637af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ download_url="https://img.zcool.cn/community/0104c15cd45b49a80121416816f1ec.jpg@
15
  def download_file(download_url):
16
  download_url="https://img.zcool.cn/community/0104c15cd45b49a80121416816f1ec.jpg@1280w_1l_2o_100sh.jpg"
17
  try:
18
- response = requests.get(download_url)
19
  file_name = download_url.split("/")[-1] # Extracting the file name from the URL
20
  save_path = os.path.join(os.getcwd(), file_name)
21
  with open(save_path, 'wb') as f:
 
15
  def download_file(download_url):
16
  download_url="https://img.zcool.cn/community/0104c15cd45b49a80121416816f1ec.jpg@1280w_1l_2o_100sh.jpg"
17
  try:
18
+ response = requests.get("https://img.zcool.cn/community/0104c15cd45b49a80121416816f1ec.jpg@1280w_1l_2o_100sh.jpg")
19
  file_name = download_url.split("/")[-1] # Extracting the file name from the URL
20
  save_path = os.path.join(os.getcwd(), file_name)
21
  with open(save_path, 'wb') as f: