Update app.py
Browse files
app.py
CHANGED
|
@@ -33,6 +33,7 @@ from smolagents import (
|
|
| 33 |
class SpeechToTextTool(PipelineTool):
|
| 34 |
"""Transcribe *local* audio files via OpenAI Whisper (cached)."""
|
| 35 |
|
|
|
|
| 36 |
name = "transcriber"
|
| 37 |
description = (
|
| 38 |
"Send a local audio file to OpenAI Whisper (model **whisper‑1**) and "
|
|
|
|
| 33 |
class SpeechToTextTool(PipelineTool):
|
| 34 |
"""Transcribe *local* audio files via OpenAI Whisper (cached)."""
|
| 35 |
|
| 36 |
+
default_checkpoint = "openai/whisper-1"
|
| 37 |
name = "transcriber"
|
| 38 |
description = (
|
| 39 |
"Send a local audio file to OpenAI Whisper (model **whisper‑1**) and "
|