marquesafonso commited on
Commit
f78f151
·
verified ·
1 Parent(s): 3be2192

make file type radio invisble

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,7 +36,7 @@ def main():
36
  fn=speechbrain,
37
  inputs= [
38
  gr.Video(),
39
- gr.Radio(choices=["video"], value="video", label="File Type")
40
  ],
41
  outputs= [
42
  gr.Audio(label="Output Audio", type="filepath")
@@ -47,7 +47,7 @@ def main():
47
  fn=speechbrain,
48
  inputs=[
49
  gr.Audio(type="filepath"),
50
- gr.Radio(choices=["audio"], value="audio", label="File Type")
51
  ],
52
  outputs=[
53
  gr.Audio(label="Output Audio", type="filepath")
 
36
  fn=speechbrain,
37
  inputs= [
38
  gr.Video(),
39
+ gr.Radio(choices=["video"], value="video", label="File Type", visible=False)
40
  ],
41
  outputs= [
42
  gr.Audio(label="Output Audio", type="filepath")
 
47
  fn=speechbrain,
48
  inputs=[
49
  gr.Audio(type="filepath"),
50
+ gr.Radio(choices=["audio"], value="audio", label="File Type", visible=False)
51
  ],
52
  outputs=[
53
  gr.Audio(label="Output Audio", type="filepath")