Nudity Detection Service

פרמיום
על ידי rohan | מְעוּדכָּן 2 months ago | Media
Health Check

N/A

חזרה לכל הדיונים

getting error

Rapid account: Leonz
leonz
8 years ago

{“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)

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות