victor HF Staff commited on
Commit
3d61465
·
1 Parent(s): 67766dc

Remove left sidebar entirely

Browse files
Files changed (1) hide show
  1. app.py +0 -33
app.py CHANGED
@@ -169,18 +169,6 @@ footer {
169
  z-index: 10;
170
  }
171
 
172
- #left-sidebar {
173
- background-color: #050505;
174
- border-right: 1px solid #171717;
175
- width: 280px !important;
176
- max-width: 280px !important;
177
- flex: none !important;
178
- padding: 0 !important;
179
- display: flex;
180
- flex-direction: column;
181
- height: 100%;
182
- }
183
-
184
  #right-sidebar {
185
  background-color: #050505;
186
  border-left: 1px solid #171717;
@@ -215,7 +203,6 @@ footer {
215
  text-transform: uppercase;
216
  font-size: 11px !important;
217
  border: none !important;
218
- margin-top: 10px;
219
  }
220
 
221
  #prompt-input textarea {
@@ -282,13 +269,6 @@ input[type=range] {
282
  }
283
  """
284
 
285
- header_html = """
286
- <div style="padding: 20px; border-bottom: 1px solid #171717;">
287
- <h1 style="font-size: 18px; font-weight: 600; margin: 0; color: white;">FLUX.2 [dev]</h1>
288
- <p style="font-size: 12px; color: #666; margin: 5px 0 0 0;">High-fidelity generation</p>
289
- </div>
290
- """
291
-
292
  controls_header_html = """
293
  <div style="padding: 20px 20px 10px 20px;">
294
  <h2 style="font-size: 11px; font-weight: 600; text-transform: uppercase; color: #666; margin: 0;">Configuration</h2>
@@ -297,19 +277,6 @@ controls_header_html = """
297
 
298
  with gr.Blocks(title="FLUX.2 [dev]") as demo:
299
  with gr.Row(elem_id="main-container", variant="compact"):
300
- # --- Left Sidebar ---
301
- with gr.Column(elem_id="left-sidebar", min_width=280):
302
- gr.HTML(header_html)
303
- # Placeholder for history - using a gallery
304
- history_gallery = gr.Gallery(
305
- elem_id="history-gallery",
306
- columns=1,
307
- allow_preview=False,
308
- interactive=False,
309
- label="History",
310
- show_label=False,
311
- )
312
-
313
  # --- Center Canvas ---
314
  with gr.Column(elem_id="center-canvas"):
315
  with gr.Row(elem_id="canvas-toolbar"):
 
169
  z-index: 10;
170
  }
171
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  #right-sidebar {
173
  background-color: #050505;
174
  border-left: 1px solid #171717;
 
203
  text-transform: uppercase;
204
  font-size: 11px !important;
205
  border: none !important;
 
206
  }
207
 
208
  #prompt-input textarea {
 
269
  }
270
  """
271
 
 
 
 
 
 
 
 
272
  controls_header_html = """
273
  <div style="padding: 20px 20px 10px 20px;">
274
  <h2 style="font-size: 11px; font-weight: 600; text-transform: uppercase; color: #666; margin: 0;">Configuration</h2>
 
277
 
278
  with gr.Blocks(title="FLUX.2 [dev]") as demo:
279
  with gr.Row(elem_id="main-container", variant="compact"):
 
 
 
 
 
 
 
 
 
 
 
 
 
280
  # --- Center Canvas ---
281
  with gr.Column(elem_id="center-canvas"):
282
  with gr.Row(elem_id="canvas-toolbar"):