placingholocaust/vector-endpoint
0
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)