Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -100,6 +100,18 @@ with gr.Blocks(theme="nevreal/blues") as demo:
|
|
| 100 |
gr.HTML("<h1><center>Flux Lab Light</center></h1>")
|
| 101 |
gr.HTML("<p><center>Powered By HF Inference API</center></p>")
|
| 102 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
with gr.Column(scale=4):
|
| 104 |
with gr.Row():
|
| 105 |
img = gr.Image(type="filepath", label='flux Generated Image', height=600)
|
|
@@ -144,18 +156,7 @@ with gr.Blocks(theme="nevreal/blues") as demo:
|
|
| 144 |
step=1,
|
| 145 |
value=-1,
|
| 146 |
)
|
| 147 |
-
|
| 148 |
-
label="Add Flux LoRA",
|
| 149 |
-
info="Copy the HF LoRA model name here",
|
| 150 |
-
lines=1,
|
| 151 |
-
placeholder="Please use Warm status model",
|
| 152 |
-
)
|
| 153 |
-
lora_word = gr.Textbox(
|
| 154 |
-
label="Add Flux LoRA Trigger Word",
|
| 155 |
-
info="Add the Trigger Word",
|
| 156 |
-
lines=1,
|
| 157 |
-
value="",
|
| 158 |
-
)
|
| 159 |
|
| 160 |
gr.Examples(
|
| 161 |
examples=examples,
|
|
|
|
| 100 |
gr.HTML("<h1><center>Flux Lab Light</center></h1>")
|
| 101 |
gr.HTML("<p><center>Powered By HF Inference API</center></p>")
|
| 102 |
with gr.Row():
|
| 103 |
+
lora_add = gr.Textbox(
|
| 104 |
+
label="Add Flux LoRA",
|
| 105 |
+
info="Copy the HF LoRA model name here",
|
| 106 |
+
lines=1,
|
| 107 |
+
placeholder="Please use Warm status model",
|
| 108 |
+
)
|
| 109 |
+
lora_word = gr.Textbox(
|
| 110 |
+
label="Add Flux LoRA Trigger Word",
|
| 111 |
+
info="Add the Trigger Word",
|
| 112 |
+
lines=1,
|
| 113 |
+
value="",
|
| 114 |
+
)
|
| 115 |
with gr.Column(scale=4):
|
| 116 |
with gr.Row():
|
| 117 |
img = gr.Image(type="filepath", label='flux Generated Image', height=600)
|
|
|
|
| 156 |
step=1,
|
| 157 |
value=-1,
|
| 158 |
)
|
| 159 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 160 |
|
| 161 |
gr.Examples(
|
| 162 |
examples=examples,
|