Update app.py
Browse files
app.py
CHANGED
@@ -1,18 +1,14 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def update_iframe(url):
|
4 |
-
return f'<iframe src="{url}" width="100%" height="500"></iframe>'
|
5 |
-
|
6 |
with gr.Blocks() as demo:
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
)
|
17 |
|
18 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
|
|
|
|
|
|
3 |
with gr.Blocks() as demo:
|
4 |
+
gr.HTML("""
|
5 |
+
<iframe
|
6 |
+
src="http://animeit.cn/"
|
7 |
+
width="100%"
|
8 |
+
height="500"
|
9 |
+
frameborder="0"
|
10 |
+
allow="fullscreen"
|
11 |
+
></iframe>
|
12 |
+
""")
|
|
|
13 |
|
14 |
demo.launch()
|