abidlabs HF Staff commited on
Commit
f181742
·
verified ·
1 Parent(s): 89240af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,4 +5,4 @@ whisper = gr.load("models/openai/whisper-small")
5
  def transcribe(audio):
6
  return whisper(audio).replace("AutomaticSpeechRecognitionOutput(text=' ", "").replace("', chunks=None)", "")
7
 
8
- gr.Interface(transcribe, gr.Audio(type="filepath"), gr.Textbox()).launch()
 
5
  def transcribe(audio):
6
  return whisper(audio).replace("AutomaticSpeechRecognitionOutput(text=' ", "").replace("', chunks=None)", "")
7
 
8
+ gr.Interface(transcribe, gr.Audio(type="filepath"), gr.Textbox()).launch(mcp_server=True)