Sqxww commited on
Commit
c308064
·
1 Parent(s): 6f30c97

fix IndentationError

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -140,20 +140,20 @@ def create_interface():
140
 
141
  with gr.Row():
142
  with gr.Column(scale=1):
143
- image_input = gr.Image(type="pil", label="Upload Image")
144
- prompt_box = gr.Textbox(label="Prompt",
145
- value="3D Chibi style,",
146
- info="Remember to include the necessary trigger words if you're using a custom LoRA."
147
  )
148
- lora_dropdown = gr.Dropdown(
149
  demo_lora_names, label="Select built-in LoRA")
150
- custom_repo_box = gr.Textbox(
151
  label="Enter Custom LoRA repo",
152
  placeholder="LoRA Hugging Face path (e.g., 'username/repo_name')",
153
  info="If you want to use a custom LoRA, enter its Hugging Face repo ID here and built-in LoRA will be Overridden. Leave empty to use built-in LoRAs. [Check the list of FLUX LoRAs](https://huggingface.co/models?other=base_model:adapter:black-forest-labs/FLUX.1-dev)"
154
  )
155
  custom_weight_name = gr.Textbox(label="Enter Custom LoRA weight name",)
156
- gen_btn = gr.Button("Generate")
157
  with gr.Column(scale=1):
158
  output_image = gr.ImageSlider(label="Generated Image")
159
  with gr.Accordion("Advanced Options", open=False):
 
140
 
141
  with gr.Row():
142
  with gr.Column(scale=1):
143
+ image_input = gr.Image(type="pil", label="Upload Image")
144
+ prompt_box = gr.Textbox(label="Prompt",
145
+ value="3D Chibi style,",
146
+ info="Remember to include the necessary trigger words if you're using a custom LoRA."
147
  )
148
+ lora_dropdown = gr.Dropdown(
149
  demo_lora_names, label="Select built-in LoRA")
150
+ custom_repo_box = gr.Textbox(
151
  label="Enter Custom LoRA repo",
152
  placeholder="LoRA Hugging Face path (e.g., 'username/repo_name')",
153
  info="If you want to use a custom LoRA, enter its Hugging Face repo ID here and built-in LoRA will be Overridden. Leave empty to use built-in LoRAs. [Check the list of FLUX LoRAs](https://huggingface.co/models?other=base_model:adapter:black-forest-labs/FLUX.1-dev)"
154
  )
155
  custom_weight_name = gr.Textbox(label="Enter Custom LoRA weight name",)
156
+ gen_btn = gr.Button("Generate")
157
  with gr.Column(scale=1):
158
  output_image = gr.ImageSlider(label="Generated Image")
159
  with gr.Accordion("Advanced Options", open=False):