Spaces:
Sleeping
Sleeping
Commit
·
95232b0
1
Parent(s):
d331efd
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def anti_nsfw(image):
|
|
| 17 |
|
| 18 |
encoded_image = image_to_base64(image)
|
| 19 |
resp = requests.post(
|
| 20 |
-
"https://
|
| 21 |
data={"base64": f"data:image/png;base64,{encoded_image}"}
|
| 22 |
)
|
| 23 |
return resp.text
|
|
|
|
| 17 |
|
| 18 |
encoded_image = image_to_base64(image)
|
| 19 |
resp = requests.post(
|
| 20 |
+
"https://8d2e08d2-7720-461c-8281-4ad7f69557e7.id.repl.co/scan",
|
| 21 |
data={"base64": f"data:image/png;base64,{encoded_image}"}
|
| 22 |
)
|
| 23 |
return resp.text
|