palbha commited on
Commit
66ede89
·
verified ·
1 Parent(s): f6ca80d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def save_image_from_browser(image_url: str) -> str:
46
  response.raise_for_status()
47
 
48
  # Save the image locally (you can adjust the save path as needed)
49
- image_path = f"/path/to/save/directory/{image_url.split('/')[-1]}"
50
  with open(image_path, "wb") as file:
51
  file.write(response.content)
52
 
 
46
  response.raise_for_status()
47
 
48
  # Save the image locally (you can adjust the save path as needed)
49
+ image_path = f"img/{image_url.split('/')[-1]}"
50
  with open(image_path, "wb") as file:
51
  file.write(response.content)
52