abidlabs HF Staff commited on
Commit
c9848e2
·
verified ·
1 Parent(s): e41725c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -1,8 +1,9 @@
1
  import gradio as gr
2
 
3
- whisper = gr.load("models/openai/whisper-small")
 
 
 
 
4
 
5
- def transcribe(audio):
6
- return "fake transcription"
7
-
8
- gr.Interface(transcribe, gr.Audio(type="filepath"), gr.Textbox()).launch(mcp_server=True)
 
1
  import gradio as gr
2
 
3
+ def audio_reverse(x):
4
+ """
5
+ Reverses audio
6
+ """
7
+ return x
8
 
9
+ app, _, _ = gr.Interface(audio_reverse, "audio", "audio").launch(mcp_server=True)