Nudity Detection Service

FREEMIUM
(Ким) rohan | Оновлено il y a 2 mois | Media
Health Check

N/A

Повернутися до всіх обговорень

getting error

Rapid account: Leonz
leonz
il y a 8 ans

{“code”:500,“error”:“Internal Server Error”}

here is my python code

import requests

endpoint = “https://nds.p.mashape.com/

def checknude(image_url):
headers = {“X-Mashape-Key”: “6n8R3bPlc7mshAHlOw1nAZ60Dt0Fp1RnDN3jsnoZmkJEjpol7T”,
“Accept”: “application/json”}
url = endpoint + “?url=” + image_url
return requests.get(url, headers = headers)

print(checknude(“http://www.styleclicker.net/wp-content/uploads/2010/10/100812-Trench-Girl-Copenhagen-Oslo-Pladsen-12.jpg”).content)

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення