Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
hqms
/
baLLseM
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
baLLseM
/
routers
/
topic_modeling.py
hqms
initial commit
8578816
11 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
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()