deanna-emery commited on
Commit
1ef90ad
·
1 Parent(s): 5962aeb
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -86,9 +86,9 @@ examples = [
86
  ]
87
 
88
  # Gradio App interface
89
- gr.Interface( fn=translate,
90
- inputs=[gr.inputs.Video(label="Video (*.mp4)")],
91
- outputs=[gr.outputs.Label(label='Translation')],
92
- allow_flagging="never",
93
- title=title,
94
- examples=examples).launch()
 
86
  ]
87
 
88
  # Gradio App interface
89
+ gr.Interface(fn=translate,
90
+ inputs="video",
91
+ outputs="text",
92
+ allow_flagging="never",
93
+ title=title,
94
+ examples=examples).launch()