youngtsai commited on
Commit
5ff49fc
·
1 Parent(s): ead5196

password_input = gr.Textbox(label="Password", type="password")

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,9 +56,9 @@ def score_audio_plus(password, audio, api_plan, return_json):
56
  return f"Error: {response.status_code} - {response.text}"
57
 
58
  with gr.Blocks() as demo:
 
 
59
  with gr.Tab("score_audio_plus"):
60
- with gr.Row():
61
- password_input = gr.Textbox(label="Password", type="password")
62
  with gr.Row():
63
  with gr.Column(scale=2):
64
  audio_input = gr.Audio(sources=["microphone","upload"], type="filepath", max_length=60, label="語音輸入")
 
56
  return f"Error: {response.status_code} - {response.text}"
57
 
58
  with gr.Blocks() as demo:
59
+ with gr.Row():
60
+ password_input = gr.Textbox(label="Password", type="password")
61
  with gr.Tab("score_audio_plus"):
 
 
62
  with gr.Row():
63
  with gr.Column(scale=2):
64
  audio_input = gr.Audio(sources=["microphone","upload"], type="filepath", max_length=60, label="語音輸入")