Mrlongpro commited on
Commit
f42a490
·
verified ·
1 Parent(s): 24ae6d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def build_interface():
52
  with gr.Blocks() as demo:
53
  # Input cho văn bản mẫu
54
  reference_text = gr.Textbox(label="Văn bản mẫu", value="Xin chào, tôi là ChatGPT", lines=2)
55
-
56
  # Button để ghi âm
57
  record_button = gr.Button("Ghi âm và kiểm tra")
58
 
 
52
  with gr.Blocks() as demo:
53
  # Input cho văn bản mẫu
54
  reference_text = gr.Textbox(label="Văn bản mẫu", value="Xin chào, tôi là ChatGPT", lines=2)
55
+ inputs=gr.Audio(type="filepath"), # Input as audio, no need for 'source' argument
56
  # Button để ghi âm
57
  record_button = gr.Button("Ghi âm và kiểm tra")
58