Surn commited on
Commit
18d3427
·
1 Parent(s): 85ffc3f

Minor UI tweak

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -274,8 +274,6 @@ pipe_i2i = AutoPipelineForImage2Image.from_pretrained(base_model,
274
  torch_dtype=dtype
275
  )
276
 
277
- MAX_SEED = 2**32-1
278
-
279
  pipe.flux_pipe_call_that_returns_an_iterable_of_images = flux_pipe_call_that_returns_an_iterable_of_images.__get__(pipe)
280
 
281
  class calculateDuration:
@@ -738,7 +736,7 @@ with gr.Blocks(css_paths="style_20250128.css", title=title, theme='Surn/beeuty',
738
  with gr.Accordion("Generative AI", open = True ):
739
  with gr.Column():
740
  map_options = gr.Dropdown(
741
- label="Map Options",
742
  choices=list(PROMPTS.keys()),
743
  value="Alien Landscape",
744
  elem_classes="solid",
@@ -772,7 +770,7 @@ with gr.Blocks(css_paths="style_20250128.css", title=title, theme='Surn/beeuty',
772
  with gr.Row():
773
  with gr.Column(scale=1):
774
  generate_button = gr.Button("Generate From Map Options, Input Image and LoRa Style", variant="primary", elem_id="gen_btn")
775
- with gr.Accordion("LoRA Styles", open=False):
776
  selected_info = gr.Markdown("")
777
  lora_gallery = gr.Gallery(
778
  [(item["image"], item["title"]) for item in loras],
 
274
  torch_dtype=dtype
275
  )
276
 
 
 
277
  pipe.flux_pipe_call_that_returns_an_iterable_of_images = flux_pipe_call_that_returns_an_iterable_of_images.__get__(pipe)
278
 
279
  class calculateDuration:
 
736
  with gr.Accordion("Generative AI", open = True ):
737
  with gr.Column():
738
  map_options = gr.Dropdown(
739
+ label="Map Options*",
740
  choices=list(PROMPTS.keys()),
741
  value="Alien Landscape",
742
  elem_classes="solid",
 
770
  with gr.Row():
771
  with gr.Column(scale=1):
772
  generate_button = gr.Button("Generate From Map Options, Input Image and LoRa Style", variant="primary", elem_id="gen_btn")
773
+ with gr.Accordion("LoRA Styles*", open=False):
774
  selected_info = gr.Markdown("")
775
  lora_gallery = gr.Gallery(
776
  [(item["image"], item["title"]) for item in loras],