Spaces:
Sleeping
Sleeping
File size: 296 Bytes
6d2b0f9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
from pydantic import BaseModel
from typing import Optional
class Question(BaseModel):
id: str
text: str
class Answer(BaseModel):
question_id: str
question_text: str
audio_transcript: str
round_number: int
class QuestionResponse(BaseModel):
id: str
text: str
|