Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def generate_video(positive_prompt, negative_prompt, guidance_scale, bias, step,
|
|
37 |
lambda total: progress.tqdm(range(total))
|
38 |
|
39 |
print(f"Generating video with params: {positive_prompt}, {negative_prompt}, {guidance_scale}, {bias}, {step}, {frames}")
|
40 |
-
pipe.set_adapters("lora", 0.5)
|
41 |
prompt = positive_prompt
|
42 |
neg_prompt = negative_prompt
|
43 |
|
|
|
37 |
lambda total: progress.tqdm(range(total))
|
38 |
|
39 |
print(f"Generating video with params: {positive_prompt}, {negative_prompt}, {guidance_scale}, {bias}, {step}, {frames}")
|
40 |
+
pipe.set_adapters("lora", 0.5) # change this to 0.5 fixed it? it did not restart
|
41 |
prompt = positive_prompt
|
42 |
neg_prompt = negative_prompt
|
43 |
|