8578816
1
2
3
4
5
6
7
8
9
10
class TopicModeling(object): def __init__(self): pass def predict(self, req: dict): text = req.get("text") return {"result": "Jakarta", "score": 0.0} topic_modeling = TopicModeling()