Estwld commited on
Commit
066f637
·
verified ·
1 Parent(s): 4068642

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -41,13 +41,13 @@ with gr.Blocks(theme="default") as iface:
41
 
42
  api_key_state = gr.State("")
43
 
44
- with gr.Column():
45
- with gr.Row():
46
- audio_input = gr.Audio(sources=["microphone", "upload"], type="filepath", label="录音或上传音频")
47
  api_key_input = gr.Textbox(type="password", label="API密钥", placeholder="请输入您的API密钥")
48
- with gr.Row():
49
- transcribe_button = gr.Button("转录")
50
- clear_button = gr.ClearButton()
 
51
 
52
  output = gr.Textbox(label="转录文本", placeholder="转录的文字将显示在这里...", lines=10, interactive=True)
53
 
 
41
 
42
  api_key_state = gr.State("")
43
 
44
+ with gr.Row():
45
+ with gr.Column():
 
46
  api_key_input = gr.Textbox(type="password", label="API密钥", placeholder="请输入您的API密钥")
47
+ audio_input = gr.Audio(sources=["microphone", "upload"], type="filepath", label="录音或上传音频")
48
+ with gr.Row():
49
+ transcribe_button = gr.Button("转录")
50
+ clear_button = gr.ClearButton()
51
 
52
  output = gr.Textbox(label="转录文本", placeholder="转录的文字将显示在这里...", lines=10, interactive=True)
53