Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,12 @@
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
2 |
|
3 |
with gr.Blocks() as demo:
|
4 |
-
gr.HTML("""
|
5 |
<iframe
|
6 |
-
src="
|
7 |
width="100%"
|
8 |
height="500"
|
9 |
frameborder="0"
|
|
|
1 |
import gradio as gr
|
2 |
+
import random
|
3 |
+
|
4 |
+
src_list = ['https://api.zmkj.site/', 'https://api1.zmkj.site/']
|
5 |
|
6 |
with gr.Blocks() as demo:
|
7 |
+
gr.HTML(f"""
|
8 |
<iframe
|
9 |
+
src="{random.choice(src_list)}"
|
10 |
width="100%"
|
11 |
height="500"
|
12 |
frameborder="0"
|