riteshkr commited on
Commit
241d467
1 Parent(s): 2a603ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,7 +54,7 @@ mic_transcribe = gr.Interface(
54
  fn=transcribe,
55
  inputs=[
56
  gr.Audio(sources="microphone", type="filepath"),
57
- gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
58
  gr.Checkbox(default=False, label="Return timestamps"),
59
  ],
60
  outputs="text",
@@ -71,7 +71,7 @@ file_transcribe = gr.Interface(
71
  fn=transcribe,
72
  inputs=[
73
  gr.Audio(sources="upload", type="filepath", label="Upload Audio File"),
74
- gr.Radio(["transcribe", "translate"], label="Task", default="transcribe"),
75
  gr.Checkbox(default=False, label="Return timestamps"),
76
  ],
77
  outputs="text",
 
54
  fn=transcribe,
55
  inputs=[
56
  gr.Audio(sources="microphone", type="filepath"),
57
+ gr.Radio(["transcribe", "translate"], label="Task"),
58
  gr.Checkbox(default=False, label="Return timestamps"),
59
  ],
60
  outputs="text",
 
71
  fn=transcribe,
72
  inputs=[
73
  gr.Audio(sources="upload", type="filepath", label="Upload Audio File"),
74
+ gr.Radio(["transcribe", "translate"], label="Task"),
75
  gr.Checkbox(default=False, label="Return timestamps"),
76
  ],
77
  outputs="text",