Spaces:
Build error
Build error
app.py
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
def display_vid(video):
|
4 |
-
html = "<iframe width='560' height='315' src=video frameborder='0' allowfullscreen></iframe>"
|
5 |
return html
|
6 |
|
7 |
demo = gr.Blocks()
|
|
|
1 |
import gradio as gr
|
2 |
+
from IPython.display import HTML, IFrame
|
3 |
|
4 |
def display_vid(video):
|
5 |
+
html = HTML("<iframe width='560' height='315' src=video frameborder='0' allowfullscreen></iframe>")
|
6 |
return html
|
7 |
|
8 |
demo = gr.Blocks()
|