Lisandro commited on
Commit
60c1752
·
1 Parent(s): ec78c92

feat: Enable lazy loading of examples in app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -76,10 +76,8 @@ with gr.Blocks(css=css) as demo:
76
  12B param rectified flow transformer distilled from [FLUX.1 [pro]](https://blackforestlabs.ai/) for 4 step generation
77
  [[blog](https://blackforestlabs.ai/2024/07/31/announcing-black-forest-labs/)] [[model](https://huggingface.co/black-forest-labs/FLUX.1-schnell)]
78
  """)
79
- space = gr.Text(
80
- label="HF Space",
81
- value=flux_1_schell_spaces[0]
82
- )
83
 
84
  with gr.Row():
85
  prompt = gr.Text(
 
76
  12B param rectified flow transformer distilled from [FLUX.1 [pro]](https://blackforestlabs.ai/) for 4 step generation
77
  [[blog](https://blackforestlabs.ai/2024/07/31/announcing-black-forest-labs/)] [[model](https://huggingface.co/black-forest-labs/FLUX.1-schnell)]
78
  """)
79
+ space = gr.Radio(flux_1_schell_spaces, label="HF Space", default=0)
80
+
 
 
81
 
82
  with gr.Row():
83
  prompt = gr.Text(