lelafav502 commited on
Commit
035bf7e
·
verified ·
1 Parent(s): 82cfdc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -127,7 +127,7 @@ def put_image_to_url(image, url):
127
 
128
  # Check if the PUT request was successful
129
  if response.status_code == 200:
130
- return f"Image uploaded successfully to {url}"
131
  else:
132
  return f"Error: {response.status_code} - {response.text}"
133
 
 
127
 
128
  # Check if the PUT request was successful
129
  if response.status_code == 200:
130
+ return response.text
131
  else:
132
  return f"Error: {response.status_code} - {response.text}"
133