Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -304,8 +304,8 @@ with gr.Blocks(css=css) as demo:
304
  """
305
  )
306
 
307
- with gr.Row(): # Use gr.Row for horizontal layout
308
- with gr.Column(): # Group input components in a Column
309
 
310
  model_to_load = gr.Textbox(
311
  label="SDXL Checkpoint (Path, URL, or HF Repo)",
@@ -317,7 +317,7 @@ with gr.Blocks(css=css) as demo:
317
  )
318
  output_path = gr.Textbox(
319
  label="Output Path (Diffusers Format)", value="output"
320
- ) # Default changed to "output"
321
  hf_token = gr.Textbox(
322
  label="Hugging Face Token", placeholder="Your Hugging Face write token", type="password"
323
  )
@@ -331,10 +331,10 @@ with gr.Blocks(css=css) as demo:
331
 
332
  convert_button = gr.Button("Convert and Upload")
333
 
334
- with gr.Column():
335
- output = gr.Markdown() #Output is in its own column
336
 
337
- convert_button.click( #TRULY CORRECT AREA NOW
338
  fn=main,
339
  inputs=[
340
  model_to_load,
 
304
  """
305
  )
306
 
307
+ with gr.Row():
308
+ with gr.Column():
309
 
310
  model_to_load = gr.Textbox(
311
  label="SDXL Checkpoint (Path, URL, or HF Repo)",
 
317
  )
318
  output_path = gr.Textbox(
319
  label="Output Path (Diffusers Format)", value="output"
320
+ )
321
  hf_token = gr.Textbox(
322
  label="Hugging Face Token", placeholder="Your Hugging Face write token", type="password"
323
  )
 
331
 
332
  convert_button = gr.Button("Convert and Upload")
333
 
334
+ with gr.Column(variant="panel"): # Use variant="panel"
335
+ output = gr.Markdown(container=False)
336
 
337
+ convert_button.click(
338
  fn=main,
339
  inputs=[
340
  model_to_load,