Spaces:
Running
Running
Update app.py
Browse filesOutput panel rework but won't merge until previous code is tested
app.py
CHANGED
@@ -304,8 +304,8 @@ with gr.Blocks(css=css) as demo:
|
|
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,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 |
-
)
|
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()
|
336 |
|
337 |
-
convert_button.click(
|
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,
|