Spaces:
Runtime error
Runtime error
Commit
·
63e5c46
1
Parent(s):
042390d
code
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def transcribe(
|
|
| 45 |
)
|
| 46 |
|
| 47 |
output = pipe(
|
| 48 |
-
{"audio": audio_sr, "turns":
|
| 49 |
max_new_tokens=512,
|
| 50 |
)
|
| 51 |
transcription = whisper({"array": audio_sr.squeeze(), "sampling_rate": target_sr})
|
|
|
|
| 45 |
)
|
| 46 |
|
| 47 |
output = pipe(
|
| 48 |
+
{"audio": audio_sr, "turns": conversation, "sampling_rate": target_sr},
|
| 49 |
max_new_tokens=512,
|
| 50 |
)
|
| 51 |
transcription = whisper({"array": audio_sr.squeeze(), "sampling_rate": target_sr})
|