File size: 831 Bytes
f6526d6
 
c5f4968
 
 
 
a3b53cb
c5f4968
 
 
 
 
f6526d6
 
c5f4968
0436245
 
 
 
 
 
 
 
 
 
 
f6526d6
0436245
c3f37d0
0436245
 
f6526d6
 
c5f4968
 
f6526d6
0436245
 
 
 
a3b53cb
c5f4968
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import gradio as gr


iframe_url = "https://r3gm-diffusecraft.hf.space"
iframe_html = f"""
<iframe
    src="{iframe_url}"
    frameborder="0"
    width="100%"
    height="600px"
    style="border: none; margin: auto; border-radius: 15px;"
></iframe>
"""


with gr.Blocks(css="""
    .centered-title {
        text-align: center; 
        font-size: 36px; 
        font-weight: bold;
        margin-bottom: 20px;
    }
    .spacer {
        height: 100px; /* Adjust to fill remaining space */
    }
""") as app:
    with gr.Row():
        gr.Markdown(
            "### OdysseyXL-3.0 - Powered By [DiffuseCraft](https://r3gm-diffusecraft.hf.space)",
            elem_classes="centered-title"
        )

    with gr.Row():
        gr.HTML(iframe_html)


    with gr.Row():
        gr.HTML('<div class="spacer"></div>')



app.launch()