ImagineAI-Real commited on
Commit
d331efd
·
1 Parent(s): 3575cf5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def anti_nsfw(image):
16
  return "Invalid file type. Please upload a PNG or JPEG image."
17
 
18
  encoded_image = image_to_base64(image)
19
- resp = requests.get(
20
  "https://36fac6f9-2b56-4d60-9698-0939a819c429.id.repl.co/scan",
21
  data={"base64": f"data:image/png;base64,{encoded_image}"}
22
  )
 
16
  return "Invalid file type. Please upload a PNG or JPEG image."
17
 
18
  encoded_image = image_to_base64(image)
19
+ resp = requests.post(
20
  "https://36fac6f9-2b56-4d60-9698-0939a819c429.id.repl.co/scan",
21
  data={"base64": f"data:image/png;base64,{encoded_image}"}
22
  )