Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -121,6 +121,12 @@ with gr.Blocks() as demo:
|
|
121 |
with gr.Tab("Single Condition Generation"):
|
122 |
with gr.Row():
|
123 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
prompt = gr.Textbox(label="Prompt")
|
125 |
subject_img = gr.Image(label="Subject Image", type="pil") # 上传图像文件
|
126 |
spatial_img = gr.Image(label="Spatial Image", type="pil") # 上传图像文件
|
@@ -147,12 +153,6 @@ with gr.Blocks() as demo:
|
|
147 |
with gr.Tab("Multi-Condition Generation"):
|
148 |
with gr.Row():
|
149 |
with gr.Column():
|
150 |
-
gr.Markdown("""
|
151 |
-
**Prompt** (When using LoRA, please try the recommended prompts available at the following links:
|
152 |
-
[FLUX.1-dev-LoRA-Text-Poster](https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-Text-Poster),
|
153 |
-
[FLUX.1-dev-LoRA-Children-Simple-Sketch](https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-Children-Simple-Sketch),
|
154 |
-
[FLUX.1-dev-LoRA-Vector-Journey](https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-Vector-Journey))
|
155 |
-
""")
|
156 |
multi_prompt = gr.Textbox(label="Prompt")
|
157 |
multi_subject_img = gr.Image(label="Subject Image", type="pil") # 上传图像文件
|
158 |
multi_spatial_img = gr.Image(label="Spatial Image", type="pil") # 上传图像文件
|
|
|
121 |
with gr.Tab("Single Condition Generation"):
|
122 |
with gr.Row():
|
123 |
with gr.Column():
|
124 |
+
gr.Markdown("""
|
125 |
+
**Prompt** (When using LoRA, please try the recommended prompts available at the following links:
|
126 |
+
[FLUX.1-dev-LoRA-Text-Poster](https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-Text-Poster),
|
127 |
+
[FLUX.1-dev-LoRA-Children-Simple-Sketch](https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-Children-Simple-Sketch),
|
128 |
+
[FLUX.1-dev-LoRA-Vector-Journey](https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-Vector-Journey))
|
129 |
+
""")
|
130 |
prompt = gr.Textbox(label="Prompt")
|
131 |
subject_img = gr.Image(label="Subject Image", type="pil") # 上传图像文件
|
132 |
spatial_img = gr.Image(label="Spatial Image", type="pil") # 上传图像文件
|
|
|
153 |
with gr.Tab("Multi-Condition Generation"):
|
154 |
with gr.Row():
|
155 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
multi_prompt = gr.Textbox(label="Prompt")
|
157 |
multi_subject_img = gr.Image(label="Subject Image", type="pil") # 上传图像文件
|
158 |
multi_spatial_img = gr.Image(label="Spatial Image", type="pil") # 上传图像文件
|