password_input = gr.Textbox(label="Password", type="password")
Browse files
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="語音輸入")
|