Spaces:
Sleeping
Sleeping
Upload app/models/question.py with huggingface_hub
Browse files- app/models/question.py +1 -7
app/models/question.py
CHANGED
|
@@ -1,8 +1,7 @@
|
|
| 1 |
from pydantic import BaseModel
|
| 2 |
-
from typing import Optional
|
| 3 |
|
| 4 |
|
| 5 |
-
class
|
| 6 |
id: str
|
| 7 |
text: str
|
| 8 |
|
|
@@ -12,8 +11,3 @@ class Answer(BaseModel):
|
|
| 12 |
question_text: str
|
| 13 |
audio_transcript: str
|
| 14 |
round_number: int
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
class QuestionResponse(BaseModel):
|
| 18 |
-
id: str
|
| 19 |
-
text: str
|
|
|
|
| 1 |
from pydantic import BaseModel
|
|
|
|
| 2 |
|
| 3 |
|
| 4 |
+
class QuestionOut(BaseModel):
|
| 5 |
id: str
|
| 6 |
text: str
|
| 7 |
|
|
|
|
| 11 |
question_text: str
|
| 12 |
audio_transcript: str
|
| 13 |
round_number: int
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|