Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,14 +116,14 @@ css = '''
|
|
| 116 |
|
| 117 |
#x {
|
| 118 |
position: absolute;
|
| 119 |
-
bottom:
|
| 120 |
left: 30px; /* Adjusted left margin */
|
| 121 |
width: 540px; /* Increased width to match the new container size */
|
| 122 |
}
|
| 123 |
|
| 124 |
#y {
|
| 125 |
position: absolute;
|
| 126 |
-
bottom:
|
| 127 |
left: 20px; /* Adjusted left margin */
|
| 128 |
width: 540px; /* Increased width to match the new container size */
|
| 129 |
transform: rotate(-90deg);
|
|
@@ -132,13 +132,11 @@ css = '''
|
|
| 132 |
|
| 133 |
#image_out {
|
| 134 |
position: absolute;
|
| 135 |
-
width:
|
| 136 |
right: 10px;
|
| 137 |
-
top:
|
| 138 |
}
|
| 139 |
|
| 140 |
-
|
| 141 |
-
|
| 142 |
'''
|
| 143 |
with gr.Blocks(css=css) as demo:
|
| 144 |
gr.Markdown(f"""# Latent Navigation
|
|
|
|
| 116 |
|
| 117 |
#x {
|
| 118 |
position: absolute;
|
| 119 |
+
bottom: 100px; /* Further increased bottom margin to move it below the image */
|
| 120 |
left: 30px; /* Adjusted left margin */
|
| 121 |
width: 540px; /* Increased width to match the new container size */
|
| 122 |
}
|
| 123 |
|
| 124 |
#y {
|
| 125 |
position: absolute;
|
| 126 |
+
bottom: 200px; /* Increased bottom margin to ensure proper spacing from #x */
|
| 127 |
left: 20px; /* Adjusted left margin */
|
| 128 |
width: 540px; /* Increased width to match the new container size */
|
| 129 |
transform: rotate(-90deg);
|
|
|
|
| 132 |
|
| 133 |
#image_out {
|
| 134 |
position: absolute;
|
| 135 |
+
width: 80%; /* Adjust width as needed */
|
| 136 |
right: 10px;
|
| 137 |
+
top: 50px; /* Moved further up to ensure it does not overlap with #x slider */
|
| 138 |
}
|
| 139 |
|
|
|
|
|
|
|
| 140 |
'''
|
| 141 |
with gr.Blocks(css=css) as demo:
|
| 142 |
gr.Markdown(f"""# Latent Navigation
|