Update run.py
Browse files
run.py
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
def transcribe(audio):
|
| 4 |
-
return "
|
| 5 |
|
| 6 |
iface = gr.Interface(
|
| 7 |
fn=transcribe,
|
| 8 |
inputs=gr.Audio(sources=["microphone"], type="filepath"),
|
| 9 |
outputs=gr.Textbox(label="📄 Результат"),
|
| 10 |
title="SeamlessStreaming CPU Demo",
|
| 11 |
-
description="
|
| 12 |
)
|
| 13 |
|
| 14 |
if __name__ == "__main__":
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
def transcribe(audio):
|
| 4 |
+
return "Демо‑режим на CPU — звук не обрабатывается."
|
| 5 |
|
| 6 |
iface = gr.Interface(
|
| 7 |
fn=transcribe,
|
| 8 |
inputs=gr.Audio(sources=["microphone"], type="filepath"),
|
| 9 |
outputs=gr.Textbox(label="📄 Результат"),
|
| 10 |
title="SeamlessStreaming CPU Demo",
|
| 11 |
+
description="Простое демо на CPU"
|
| 12 |
)
|
| 13 |
|
| 14 |
if __name__ == "__main__":
|