Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Ymokay
/
ToxiCheck
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
ToxiCheck
/
models
/
base.py
Tbruand
chore(): nitial commit - project structure
3ece550
about 2 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
132 Bytes
from
abc
import
ABC, abstractmethod
class
BaseModel
(
ABC
):
@abstractmethod
def
predict
(
self, text:
str
) ->
str
:
pass