Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -85,13 +85,13 @@ with gr.Blocks(css=css) as demo:
|
|
85 |
<h2 style="text-align: center;">SD-XL Custom Model Inference</h2>
|
86 |
<p style="text-align: center;">Use this demo to check results from your previously trained LoRa model.</p>
|
87 |
""")
|
88 |
-
with gr.
|
89 |
-
with gr.
|
90 |
custom_model = gr.Textbox(label="Your custom model ID", placeholder="your_username/your_trained_model_name", info="Make sure your model is set to PUBLIC ")
|
91 |
weight_name = gr.Textbox(label="Safetensors file", value="pytorch_lora_weights.safetensors", info="specify which one if model has several .safetensors files")
|
92 |
-
with gr.
|
93 |
-
model_status = gr.Textbox(label="model status", interactive=False)
|
94 |
load_model_btn = gr.Button("Load my model")
|
|
|
95 |
|
96 |
prompt_in = gr.Textbox(label="Prompt")
|
97 |
with gr.Row():
|
|
|
85 |
<h2 style="text-align: center;">SD-XL Custom Model Inference</h2>
|
86 |
<p style="text-align: center;">Use this demo to check results from your previously trained LoRa model.</p>
|
87 |
""")
|
88 |
+
with gr.Row():
|
89 |
+
with gr.Column():
|
90 |
custom_model = gr.Textbox(label="Your custom model ID", placeholder="your_username/your_trained_model_name", info="Make sure your model is set to PUBLIC ")
|
91 |
weight_name = gr.Textbox(label="Safetensors file", value="pytorch_lora_weights.safetensors", info="specify which one if model has several .safetensors files")
|
92 |
+
with gr.Column():
|
|
|
93 |
load_model_btn = gr.Button("Load my model")
|
94 |
+
model_status = gr.Textbox(label="model status", interactive=False)
|
95 |
|
96 |
prompt_in = gr.Textbox(label="Prompt")
|
97 |
with gr.Row():
|