Spaces:
Runtime error
Runtime error
Update gradio_app.py
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -259,7 +259,7 @@ def get_image(image, prompt, steps=50, cfg_scale=7.5, eta=1.0, fs=3, seed=123, i
|
|
259 |
imtext_cond = torch.cat([text_emb, img_emb], dim=1)
|
260 |
|
261 |
fs = torch.tensor([fs], dtype=torch.long, device=model.device)
|
262 |
-
print("cn videos:",cn_videos.shape, "img emb:", img_emb.shape)
|
263 |
cond = {"c_crossattn": [imtext_cond], "fs": fs, "c_concat": [img_tensor_repeat], "control_cond": cn_videos}
|
264 |
|
265 |
print("before sample loop")
|
|
|
259 |
imtext_cond = torch.cat([text_emb, img_emb], dim=1)
|
260 |
|
261 |
fs = torch.tensor([fs], dtype=torch.long, device=model.device)
|
262 |
+
# print("cn videos:",cn_videos.shape, "img emb:", img_emb.shape)
|
263 |
cond = {"c_crossattn": [imtext_cond], "fs": fs, "c_concat": [img_tensor_repeat], "control_cond": cn_videos}
|
264 |
|
265 |
print("before sample loop")
|