Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,7 +106,7 @@ with gr.Blocks(theme="soft") as demo:
|
|
| 106 |
label="Generated Image",
|
| 107 |
type="filepath",
|
| 108 |
elem_id="output_image",
|
| 109 |
-
height=
|
| 110 |
)
|
| 111 |
|
| 112 |
run_button.click(
|
|
@@ -115,24 +115,24 @@ with gr.Blocks(theme="soft") as demo:
|
|
| 115 |
outputs=[result_image],
|
| 116 |
)
|
| 117 |
|
| 118 |
-
|
| 119 |
-
|
|
|
|
| 120 |
<style>
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
}
|
| 133 |
</style>
|
| 134 |
<div class="footer">
|
| 135 |
-
|
| 136 |
</div>
|
| 137 |
""")
|
| 138 |
|
|
|
|
| 106 |
label="Generated Image",
|
| 107 |
type="filepath",
|
| 108 |
elem_id="output_image",
|
| 109 |
+
height=600 # Increased the height by 100%
|
| 110 |
)
|
| 111 |
|
| 112 |
run_button.click(
|
|
|
|
| 115 |
outputs=[result_image],
|
| 116 |
)
|
| 117 |
|
| 118 |
+
|
| 119 |
+
# Footer added to center-align the text
|
| 120 |
+
gr.HTML("""
|
| 121 |
<style>
|
| 122 |
+
.footer {
|
| 123 |
+
position: relative;
|
| 124 |
+
left: 0;
|
| 125 |
+
bottom: 0;
|
| 126 |
+
width: 100%;
|
| 127 |
+
background-color: white;
|
| 128 |
+
color: black;
|
| 129 |
+
text-align: center;
|
| 130 |
+
padding: 10px;
|
| 131 |
+
margin-top: 20px;
|
| 132 |
+
}
|
|
|
|
| 133 |
</style>
|
| 134 |
<div class="footer">
|
| 135 |
+
<p>Developed using the RealVisXL_V5.0_Lightning model with ❤ by Aklavya (Bucky)</p>
|
| 136 |
</div>
|
| 137 |
""")
|
| 138 |
|