Spaces:
Runtime error
Runtime error
LeoXing1996 commited on
Commit ·
00a4e2b
1
Parent(s): 9e4d006
debug
Browse files348 unmodified lines349350351352353354355356357358348 unmodified linesprogress=gr.Progress(),):global sample_idxif init_img is None:init_img = np.array(Image.open('__assets__/image_animation/zhening/zhening.jpeg'))gr.Info('User example image for quick run.')if seed_textbox != -1 and seed_textbox != "":torch.manual_seed(int(seed_textbox))348 unmodified lines349350351352353354355356357358359360361362363364365366348 unmodified linesprogress=gr.Progress(),):print('init img', init_img)print('motion', motion_scale)print('prompt', prompt_textbox)print('sample step', sample_step_slider)print('ip-adapter', ip_adapter_scale)print('seed', seed_textbox)global sample_idxif init_img is None:print('Fetch example!!!!!!!!!!!')init_img = np.array(Image.open('__assets__/image_animation/zhening/zhening.jpeg'))gr.Info('Use example image for quick run.')if seed_textbox != -1 and seed_textbox != "":torch.manual_seed(int(seed_textbox))
app-huggingface.py+9-1