coralLight commited on
Commit
f1daac8
·
1 Parent(s): f339e7d

add lora support

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -364,7 +364,7 @@ with gr.Blocks() as demo:
364
 
365
  need_lora = gr.Checkbox(
366
  label="Use LoRA adapters",
367
- value=True,
368
  )
369
 
370
  gr.Examples(examples=examples, inputs=[prompt])
 
364
 
365
  need_lora = gr.Checkbox(
366
  label="Use LoRA adapters",
367
+ value=False,
368
  )
369
 
370
  gr.Examples(examples=examples, inputs=[prompt])
requirements.txt CHANGED
@@ -11,4 +11,4 @@ torch>=2.0.0
11
  opencv-python
12
  omegaconf
13
  gradio==3.45.0
14
- PEFT
 
11
  opencv-python
12
  omegaconf
13
  gradio==3.45.0
14
+ peft==0.17.1