Team Ai
Apppublic

placingholocaust/vector-endpoint

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
test.py15 linesDownload Raw Back to root
1import requests2import json3 4url = "https://placingholocaust-vector-endpoint.hf.space/vectorize"5headers = {6    "accept": "application/json",7    "Content-Type": "application/json"8}9data = {10    "text": "This is a text"11}12 13response = requests.post(url, headers=headers, json=data)14result = response.json()15print(result)