Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,14 +31,14 @@ def transcribe(audio_path):
|
|
| 31 |
|
| 32 |
demo = gr.Interface(
|
| 33 |
fn=transcribe,
|
| 34 |
-
inputs=gr.Audio(type="filepath", label="音声アップロード
|
| 35 |
outputs=[
|
| 36 |
gr.Textbox(label="文字起こし結果(タイムスタンプ付き)"),
|
| 37 |
gr.Text(label="検出言語"),
|
| 38 |
gr.Number(label="言語確信度")
|
| 39 |
],
|
| 40 |
-
title="
|
| 41 |
-
description="
|
| 42 |
)
|
| 43 |
|
| 44 |
if __name__ == "__main__":
|
|
|
|
| 31 |
|
| 32 |
demo = gr.Interface(
|
| 33 |
fn=transcribe,
|
| 34 |
+
inputs=gr.Audio(type="filepath", label="音声アップロード"),
|
| 35 |
outputs=[
|
| 36 |
gr.Textbox(label="文字起こし結果(タイムスタンプ付き)"),
|
| 37 |
gr.Text(label="検出言語"),
|
| 38 |
gr.Number(label="言語確信度")
|
| 39 |
],
|
| 40 |
+
title="Faster-Whisper",
|
| 41 |
+
description="音声よりも高速な文字起こしが可能です。"
|
| 42 |
)
|
| 43 |
|
| 44 |
if __name__ == "__main__":
|