Ashoka74 commited on
Commit
3306ca5
1 Parent(s): 99d550e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -986,7 +986,7 @@ with block:
986
  # output_bg = gr.Image(type="numpy", label="Preprocessed Foreground", height=480)
987
  with gr.Group():
988
  prompt = gr.Textbox(label="Prompt")
989
- bg_source = gr.Radio(choices=[e.value for e in BGSource[2:]],
990
  value=BGSource.GREY.value,
991
  label="Lighting Preference (Initial Latent)", type='value')
992
  example_quick_subjects = gr.Dataset(samples=quick_subjects, label='Subject Quick List', samples_per_page=1000, components=[prompt])
 
986
  # output_bg = gr.Image(type="numpy", label="Preprocessed Foreground", height=480)
987
  with gr.Group():
988
  prompt = gr.Textbox(label="Prompt")
989
+ bg_source = gr.Radio(choices=[e.value for e in list(BGSource)[2:]],
990
  value=BGSource.GREY.value,
991
  label="Lighting Preference (Initial Latent)", type='value')
992
  example_quick_subjects = gr.Dataset(samples=quick_subjects, label='Subject Quick List', samples_per_page=1000, components=[prompt])