Spaces:
Running
on
Zero
Running
on
Zero
xieli
commited on
Commit
·
346d505
1
Parent(s):
066d2f4
feat: fix asr
Browse files
app.py
CHANGED
|
@@ -459,7 +459,7 @@ class EditxTab:
|
|
| 459 |
# Add audio transcription event only if enabled
|
| 460 |
if self.enable_auto_transcribe:
|
| 461 |
self.prompt_audio_input.change(
|
| 462 |
-
fn=
|
| 463 |
inputs=[self.prompt_audio_input, self.prompt_text_input],
|
| 464 |
outputs=self.prompt_text_input,
|
| 465 |
)
|
|
|
|
| 459 |
# Add audio transcription event only if enabled
|
| 460 |
if self.enable_auto_transcribe:
|
| 461 |
self.prompt_audio_input.change(
|
| 462 |
+
fn=transcribe_audio,
|
| 463 |
inputs=[self.prompt_audio_input, self.prompt_text_input],
|
| 464 |
outputs=self.prompt_text_input,
|
| 465 |
)
|