mrfakename commited on
Commit
cbf237e
1 Parent(s): 8f022a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def classify(audio, model):
41
  with gr.Blocks() as demo:
42
  gr.Markdown(ABOUT)
43
  aud = gr.Audio(label="Upload audio...", interactive=True, type="filepath")
44
- model = gr.Radio(["default", "turbo"], label="Model", info="Which model do you want to use?", value="default", interactive=True)
45
  btn = gr.Button("Classify", variant="primary")
46
  res = gr.Label(label="Results...")
47
  btn.click(classify, inputs=[aud, model], outputs=res)
 
41
  with gr.Blocks() as demo:
42
  gr.Markdown(ABOUT)
43
  aud = gr.Audio(label="Upload audio...", interactive=True, type="filepath")
44
+ model = gr.Radio(["default", "turbo"], label="Model", info="Which model do you want to use? Default is lightweight and efficient, Turbo is more robust and powerful.", value="default", interactive=True)
45
  btn = gr.Button("Classify", variant="primary")
46
  res = gr.Label(label="Results...")
47
  btn.click(classify, inputs=[aud, model], outputs=res)