Spaces:
Runtime error
Runtime error
deanna-emery
commited on
Commit
·
b4864f2
1
Parent(s):
31d4007
updates
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ article = """The captions for the example videos are as follows in order: \n
|
|
108 |
|
109 |
# Gradio App interface
|
110 |
gr.Interface(fn=translate,
|
111 |
-
inputs=[gr.Video(label='Video', show_label=True, max_length=10, sources='upload'), '
|
112 |
outputs="text",
|
113 |
allow_flagging="never",
|
114 |
title=title,
|
|
|
108 |
|
109 |
# Gradio App interface
|
110 |
gr.Interface(fn=translate,
|
111 |
+
inputs=[gr.Video(label='Video', show_label=True, max_length=10, sources='upload'), gr.Textbox(label='Caption', show_label=True)],
|
112 |
outputs="text",
|
113 |
allow_flagging="never",
|
114 |
title=title,
|