Spaces:
Runtime error
Runtime error
Commit ·
bb9a87c
1
Parent(s): e4d904e
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,6 @@ conv_session_id = cohere_chat_res_start.session_id
|
|
| 10 |
|
| 11 |
whisper = gr.Interface.load(name="spaces/sanchit-gandhi/whisper-large-v2")
|
| 12 |
|
| 13 |
-
|
| 14 |
def translate_or_transcribe(audio):
|
| 15 |
return whisper(audio, None, "translate", fn_index=0)
|
| 16 |
|
|
@@ -164,6 +163,6 @@ with gr.Blocks(title='Talk to CatGPT') as demo:
|
|
| 164 |
</p>
|
| 165 |
</div>
|
| 166 |
''')
|
| 167 |
-
|
| 168 |
|
| 169 |
demo.launch(debug = True)
|
|
|
|
| 10 |
|
| 11 |
whisper = gr.Interface.load(name="spaces/sanchit-gandhi/whisper-large-v2")
|
| 12 |
|
|
|
|
| 13 |
def translate_or_transcribe(audio):
|
| 14 |
return whisper(audio, None, "translate", fn_index=0)
|
| 15 |
|
|
|
|
| 163 |
</p>
|
| 164 |
</div>
|
| 165 |
''')
|
| 166 |
+
gr.Markdown("")
|
| 167 |
|
| 168 |
demo.launch(debug = True)
|