Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
joaoargolo1
/
emollama
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
13859c7
emollama
/
schemas.py
joaoargolo1
Teste 1
f5b6851
verified
4 months ago
raw
Copy download link
history
blame
Safe
225 Bytes
from
pydantic
import
BaseModel, Field
class
SentimentRequest
(
BaseModel
):
text:
str
= Field(..., min_length=
1
, description=
"Texto para análise de sentimento"
)
class
SentimentResponse
(
BaseModel
):
sentiment:
str