OdysseyXL-4.0 / app.py
Spestly's picture
Update app.py
5ebfa60 verified
raw
history blame contribute delete
832 Bytes
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-4.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()