Spaces:
Runtime error
Runtime error
Commit
·
56c5e88
1
Parent(s):
e14d0da
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ conv_session_id = cohere_chat_res_start.session_id
|
|
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 |
|
17 |
def get_response_from_chatbot(text):
|
|
|
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 |
|
17 |
def get_response_from_chatbot(text):
|