Mbonea commited on
Commit
fe76727
·
1 Parent(s): 78f1df3
App/Transcription/TranscriptionRoutes.py CHANGED
@@ -17,7 +17,7 @@ async def create_file(
17
  file: UploadFile,
18
  userId: int = 1,
19
  model: str = Query(
20
- "tiny", choices=("tiny", "small", "medium"), description="Model Sizes"
21
  ),
22
  ):
23
  # Read the file contents
 
17
  file: UploadFile,
18
  userId: int = 1,
19
  model: str = Query(
20
+ "tiny", enum=["tiny", "small", "medium"], description="Model Sizes"
21
  ),
22
  ):
23
  # Read the file contents