001881c 447f5a8 001881c b7718a5 447f5a8 b7718a5
1
2
3
4
5
6
7
8
9
10
11
12
13
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