Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,16 +1,17 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
style="
|
11 |
-
|
12 |
"""
|
13 |
|
|
|
14 |
with gr.Blocks(css="""
|
15 |
.centered-title {
|
16 |
text-align: center;
|
@@ -29,10 +30,11 @@ with gr.Blocks(css="""
|
|
29 |
)
|
30 |
|
31 |
with gr.Row():
|
32 |
-
gr.HTML(
|
|
|
33 |
|
34 |
with gr.Row():
|
35 |
gr.HTML('<div class="spacer"></div>')
|
36 |
|
37 |
|
38 |
-
app.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
|
4 |
+
iframe_url = "https://r3gm-diffusecraft.hf.space"
|
5 |
+
iframe_html = f"""
|
6 |
+
<iframe
|
7 |
+
frameborder="0"
|
8 |
+
width="100%"
|
9 |
+
height="600px"
|
10 |
+
style="border: none; margin: auto; border-radius: 15px;"
|
11 |
+
></iframe>
|
12 |
"""
|
13 |
|
14 |
+
|
15 |
with gr.Blocks(css="""
|
16 |
.centered-title {
|
17 |
text-align: center;
|
|
|
30 |
)
|
31 |
|
32 |
with gr.Row():
|
33 |
+
gr.HTML(iframe_html)
|
34 |
+
|
35 |
|
36 |
with gr.Row():
|
37 |
gr.HTML('<div class="spacer"></div>')
|
38 |
|
39 |
|
40 |
+
app.launch()
|