Spaces:
Runtime error
Runtime error
Jiang Xiaolan
commited on
Commit
·
3e62f87
1
Parent(s):
567c6df
update
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ if clone_repo():
|
|
| 48 |
import transcribe_agent.agent as ta
|
| 49 |
demo = gr.Blocks()
|
| 50 |
mf_transcribe = gr.Interface(
|
| 51 |
-
fn=ta.
|
| 52 |
inputs=[
|
| 53 |
gr.Audio(sources=["microphone"], type="filepath"),
|
| 54 |
],
|
|
@@ -61,7 +61,7 @@ if clone_repo():
|
|
| 61 |
)
|
| 62 |
|
| 63 |
file_transcribe = gr.Interface(
|
| 64 |
-
fn=ta.
|
| 65 |
inputs=[
|
| 66 |
gr.Audio(sources=["upload"], type="filepath", label="Audio file"),
|
| 67 |
],
|
|
|
|
| 48 |
import transcribe_agent.agent as ta
|
| 49 |
demo = gr.Blocks()
|
| 50 |
mf_transcribe = gr.Interface(
|
| 51 |
+
fn=ta.transcribe_v2,
|
| 52 |
inputs=[
|
| 53 |
gr.Audio(sources=["microphone"], type="filepath"),
|
| 54 |
],
|
|
|
|
| 61 |
)
|
| 62 |
|
| 63 |
file_transcribe = gr.Interface(
|
| 64 |
+
fn=ta.transcribe_v2,
|
| 65 |
inputs=[
|
| 66 |
gr.Audio(sources=["upload"], type="filepath", label="Audio file"),
|
| 67 |
],
|