Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse filesState to Number
app.py
CHANGED
@@ -113,7 +113,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as app:
|
|
113 |
"""<h1><img src="https://huggingface.co/spaces/multimodalart/flux-lora-the-explorer/resolve/main/flux_lora.png" alt="LoRA"> FLUX LoRA the Explorer</h1>""",
|
114 |
elem_id="title",
|
115 |
)
|
116 |
-
selected_index = gr.
|
117 |
with gr.Row():
|
118 |
with gr.Column(scale=3):
|
119 |
prompt = gr.Textbox(label="Prompt", lines=1, placeholder="Type a prompt after selecting a LoRA")
|
|
|
113 |
"""<h1><img src="https://huggingface.co/spaces/multimodalart/flux-lora-the-explorer/resolve/main/flux_lora.png" alt="LoRA"> FLUX LoRA the Explorer</h1>""",
|
114 |
elem_id="title",
|
115 |
)
|
116 |
+
selected_index = gr.Number(value=0, precision=0, visible=False)
|
117 |
with gr.Row():
|
118 |
with gr.Column(scale=3):
|
119 |
prompt = gr.Textbox(label="Prompt", lines=1, placeholder="Type a prompt after selecting a LoRA")
|