Spaces:
Runtime error
Runtime error
LeoXing1996
commited on
Commit
·
00a4e2b
1
Parent(s):
9e4d006
debug
Browse files- app-huggingface.py +9 -1
app-huggingface.py
CHANGED
@@ -349,10 +349,18 @@ class AnimateController:
|
|
349 |
progress=gr.Progress(),
|
350 |
|
351 |
):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
global sample_idx
|
353 |
if init_img is None:
|
|
|
354 |
init_img = np.array(Image.open('__assets__/image_animation/zhening/zhening.jpeg'))
|
355 |
-
gr.Info('
|
356 |
|
357 |
if seed_textbox != -1 and seed_textbox != "":
|
358 |
torch.manual_seed(int(seed_textbox))
|
|
|
349 |
progress=gr.Progress(),
|
350 |
|
351 |
):
|
352 |
+
print('init img', init_img)
|
353 |
+
print('motion', motion_scale)
|
354 |
+
print('prompt', prompt_textbox)
|
355 |
+
print('sample step', sample_step_slider)
|
356 |
+
print('ip-adapter', ip_adapter_scale)
|
357 |
+
print('seed', seed_textbox)
|
358 |
+
|
359 |
global sample_idx
|
360 |
if init_img is None:
|
361 |
+
print('Fetch example!!!!!!!!!!!')
|
362 |
init_img = np.array(Image.open('__assets__/image_animation/zhening/zhening.jpeg'))
|
363 |
+
gr.Info('Use example image for quick run.')
|
364 |
|
365 |
if seed_textbox != -1 and seed_textbox != "":
|
366 |
torch.manual_seed(int(seed_textbox))
|