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