zenafey commited on
Commit
79717e8
1 Parent(s): 3833472

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -330,7 +330,9 @@ with gr.Blocks(css=css) as demo:
330
  seed = gr.Number(label="Seed", value=-1)
331
 
332
  with gr.Tab("Lora"):
333
- first_btn = gr.Button(prodia_client.list_loras()[0])
 
 
334
 
335
  with gr.Column(scale=2):
336
  image_output = gr.Gallery(value=["https://images.prodia.xyz/8ede1a7c-c0ee-4ded-987d-6ffed35fc477.png"], preview=True)
 
330
  seed = gr.Number(label="Seed", value=-1)
331
 
332
  with gr.Tab("Lora"):
333
+ loralist = prodia_client.list_loras()
334
+ for lora in loralist:
335
+ gr.Button(lora)
336
 
337
  with gr.Column(scale=2):
338
  image_output = gr.Gallery(value=["https://images.prodia.xyz/8ede1a7c-c0ee-4ded-987d-6ffed35fc477.png"], preview=True)