Skip to content

Commit 88fcc4e

Browse files
committed
fastapi_vocab class key changed
1 parent dcbbf07 commit 88fcc4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/fastapi_app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ class SimilarityResponse(BaseModel):
139139

140140

141141
class VocabResponse(BaseModel):
142-
vocabulary: List[str] = Field(..., description="List of words in the vocabulary")
142+
total_words: int
143+
sample_words: List[str]
143144

144145

145146
class HealthResponse(BaseModel):

0 commit comments

Comments
 (0)