Mary / run.py
marries's picture
Update run.py
7235309 verified
raw
history blame contribute delete
437 Bytes
import gradio as gr
def transcribe(audio):
return "Демо‑режим на CPU — звук не обрабатывается."
iface = gr.Interface(
fn=transcribe,
inputs=gr.Audio(sources=["microphone"], type="filepath"),
outputs=gr.Textbox(label="📄 Результат"),
title="SeamlessStreaming CPU Demo",
description="Простое демо на CPU"
)
if __name__ == "__main__":
iface.launch()