Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ def transcribe(audio):
|
|
76 |
def chat_interface(audio_tuple ):
|
77 |
audio_path = audio_tuple[0] if isinstance(audio_tuple, tuple) else audio_tuple
|
78 |
|
79 |
-
message = transcribe(
|
80 |
outputs = inference(message, model, tokenizer)
|
81 |
return outputs
|
82 |
|
|
|
76 |
def chat_interface(audio_tuple ):
|
77 |
audio_path = audio_tuple[0] if isinstance(audio_tuple, tuple) else audio_tuple
|
78 |
|
79 |
+
message = transcribe(audio_path)
|
80 |
outputs = inference(message, model, tokenizer)
|
81 |
return outputs
|
82 |
|