Spaces:
Sleeping
Sleeping
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,12 +132,13 @@ css = '''
|
|
132 |
|
133 |
#image_out {
|
134 |
position: absolute;
|
135 |
-
width: 90%; /*
|
136 |
right: 10px;
|
137 |
-
top:
|
138 |
}
|
139 |
|
140 |
|
|
|
141 |
'''
|
142 |
with gr.Blocks(css=css) as demo:
|
143 |
gr.Markdown(f"""# Latent Navigation
|
|
|
116 |
|
117 |
#x {
|
118 |
position: absolute;
|
119 |
+
bottom: 140px; /* Further increased bottom margin to move further up */
|
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: 220px; /* Increased bottom margin to accommodate the larger #x position */
|
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: 90%; /* Maintain the increased width */
|
136 |
right: 10px;
|
137 |
+
top: 30px; /* Moved further up to ensure no overlap with #x */
|
138 |
}
|
139 |
|
140 |
|
141 |
+
|
142 |
'''
|
143 |
with gr.Blocks(css=css) as demo:
|
144 |
gr.Markdown(f"""# Latent Navigation
|