vankienemk commited on
Commit
d0b7fd5
·
verified ·
1 Parent(s): beb5386

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def transcribe(audio):
24
  # Gradio UI
25
  gr.Interface(
26
  fn=transcribe,
27
- inputs=gr.Audio(source="upload", type="filepath", label="Upload audio (16kHz, mono)"),
28
  outputs="text",
29
  title="Wav2Vec2 Vietnamese STT",
30
  description="Nhận dạng giọng nói tiếng Việt bằng mô hình wav2vec2-base-vietnamese-250h từ VLSP."
 
24
  # Gradio UI
25
  gr.Interface(
26
  fn=transcribe,
27
+ inputs=gr.Audio(type="filepath", label="Upload audio (16kHz, mono)"),
28
  outputs="text",
29
  title="Wav2Vec2 Vietnamese STT",
30
  description="Nhận dạng giọng nói tiếng Việt bằng mô hình wav2vec2-base-vietnamese-250h từ VLSP."