Skip to content

Commit

Permalink
Fix VAD issue on main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thainguyensunya committed Dec 16, 2024
1 parent cdeba6d commit 95b51cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/modal/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def speaker_identification(
return speaker_identification_endpoint(uid, audio_file, segments)

@app.post('/v1/vad')
def vad(audio_file: UploadFile = File):
def vad(file: UploadFile = File):
print('vad')
print(vad_endpoint)
return vad_endpoint(audio_file)
return vad_endpoint(file)

0 comments on commit 95b51cc

Please sign in to comment.