baLLseM / routers /topic_modeling.py
hqms's picture
initial commit
8578816
raw
history blame contribute delete
221 Bytes
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()