Tri4 commited on
Commit
d76cb4c
·
verified ·
1 Parent(s): 3b5b013

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -39,7 +39,7 @@ def hello():
39
  return "Semabox, listens to you!"
40
 
41
  @app.route('/whisper', methods=['POST'])
42
- def transcribe_audio():
43
  if 'audio' not in request.files:
44
  # If no audio file is submitted, return a 400 (Bad Request) error.
45
  abort(400, description="No audio file provided")
 
39
  return "Semabox, listens to you!"
40
 
41
  @app.route('/whisper', methods=['POST'])
42
+ def sema():
43
  if 'audio' not in request.files:
44
  # If no audio file is submitted, return a 400 (Bad Request) error.
45
  abort(400, description="No audio file provided")