svjack's picture
Upload 5 files
03c1af1
raw
history blame contribute delete
328 Bytes
import requests
def call_entity_property_extract(zh_question):
response = requests.post("https://svjack-entity-property-extractor-zh.hf.space/run/predict", json={
"data": [
zh_question,
]}).json()
data = response["data"]
if data:
data = data[0]
pass
else:
pass
return data