tidalinn
Updated project
24eb986
raw
history blame
587 Bytes
from pydantic_settings import BaseSettings
from typing import List
class Settings(BaseSettings):
task: str = 'text-classification'
models: List[str] = [
'ProsusAI/finbert',
'tabularisai/multilingual-sentiment-analysis',
'fhamborg/roberta-targeted-sentiment-classification-newsarticles'
]
sample_text: str = 'The quality of exchanged money in cache defines random person as a self-personed financial mentor if he absolutely successed at being thoughtful during the process of calculating the bills'
title: str = 'Sentiment analyzer'