import requests #print(result) def acf(text1): response = requests.post("https://anbohan-sentiment-analysis.hf.space/run/predict", json={ "data": [ text1, ] }).json() acfresult = response["data"] return acfresult