Fabrice-TIERCELIN
commited on
Commit
•
811f1d8
1
Parent(s):
60e968d
Comment out
Browse files- GenVideo_app.py +5 -5
GenVideo_app.py
CHANGED
@@ -65,13 +65,13 @@ if torch.cuda.device_count() > 0:
|
|
65 |
model = model.to(SUPIR_device)
|
66 |
model.first_stage_model.denoise_encoder_s1 = copy.deepcopy(model.first_stage_model.denoise_encoder)
|
67 |
model.current_model = 'v0-Q'
|
68 |
-
ckpt_Q, ckpt_F = load_QF_ckpt(args.opt)
|
69 |
|
70 |
# load LLaVA
|
71 |
-
if use_llava:
|
72 |
-
llava_agent = LLavaAgent(LLAVA_MODEL_PATH, device=LLaVA_device, load_8bit=args.load_8bit_llava, load_4bit=False)
|
73 |
-
else:
|
74 |
-
llava_agent = None
|
75 |
|
76 |
|
77 |
# Available adapters (replace with your actual adapter names)
|
|
|
65 |
model = model.to(SUPIR_device)
|
66 |
model.first_stage_model.denoise_encoder_s1 = copy.deepcopy(model.first_stage_model.denoise_encoder)
|
67 |
model.current_model = 'v0-Q'
|
68 |
+
#ckpt_Q, ckpt_F = load_QF_ckpt(args.opt)
|
69 |
|
70 |
# load LLaVA
|
71 |
+
#if use_llava:
|
72 |
+
#llava_agent = LLavaAgent(LLAVA_MODEL_PATH, device=LLaVA_device, load_8bit=args.load_8bit_llava, load_4bit=False)
|
73 |
+
#else:
|
74 |
+
#llava_agent = None
|
75 |
|
76 |
|
77 |
# Available adapters (replace with your actual adapter names)
|