Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,18 +1,16 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
></iframe>
|
13 |
"""
|
14 |
|
15 |
-
|
16 |
with gr.Blocks(css="""
|
17 |
.centered-title {
|
18 |
text-align: center;
|
@@ -26,13 +24,12 @@ with gr.Blocks(css="""
|
|
26 |
""") as app:
|
27 |
with gr.Row():
|
28 |
gr.Markdown(
|
29 |
-
"### OdysseyXL-
|
30 |
elem_classes="centered-title"
|
31 |
)
|
32 |
|
33 |
with gr.Row():
|
34 |
-
gr.HTML(
|
35 |
-
|
36 |
|
37 |
with gr.Row():
|
38 |
gr.HTML('<div class="spacer"></div>')
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
html_content = """
|
4 |
+
<script
|
5 |
+
type="module"
|
6 |
+
src="https://gradio.s3-us-west-2.amazonaws.com/4.31.3/gradio.js"
|
7 |
+
></script>
|
8 |
+
<gradio-app
|
9 |
+
src="https://r3gm-diffusecraft.hf.space"
|
10 |
+
style="width: 100%; height: 600px; border-radius: 15px; margin: auto;">
|
11 |
+
</gradio-app>
|
|
|
12 |
"""
|
13 |
|
|
|
14 |
with gr.Blocks(css="""
|
15 |
.centered-title {
|
16 |
text-align: center;
|
|
|
24 |
""") as app:
|
25 |
with gr.Row():
|
26 |
gr.Markdown(
|
27 |
+
"### OdysseyXL-4.0 - Powered By [DiffuseCraft](https://r3gm-diffusecraft.hf.space)",
|
28 |
elem_classes="centered-title"
|
29 |
)
|
30 |
|
31 |
with gr.Row():
|
32 |
+
gr.HTML(html_content)
|
|
|
33 |
|
34 |
with gr.Row():
|
35 |
gr.HTML('<div class="spacer"></div>')
|