-
Notifications
You must be signed in to change notification settings - Fork 2
Description
version: • python: 3.10.10 • torch: 2.0.0+cu118 • xformers: 0.0.20 • gradio: 3.29.0 • checkpoint: [c54f90e540]
File "c:\Temp__programs\Stable Def\venv\lib\site-packages\gradio\routes.py", line 408, in run_predict
output = await app.get_blocks().process_api(
File "c:\Temp__programs\Stable Def\venv\lib\site-packages\gradio\blocks.py", line 1315, in process_api
result = await self.call_function(
File "c:\Temp__programs\Stable Def\venv\lib\site-packages\gradio\blocks.py", line 1043, in call_function
prediction = await anyio.to_thread.run_sync(
File "c:\Temp__programs\Stable Def\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "c:\Temp__programs\Stable Def\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "c:\Temp__programs\Stable Def\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "C:\Temp__programs\Stable Def\extensions\Mask2Background\scripts\inpaint_anything.py", line 43, in wrapper
res = func(*args, **kwargs)
File "C:\Temp__programs\Stable Def\extensions\Mask2Background\scripts\inpaint_anything.py", line 117, in select_mask
ret_image = create_mask(input_image)
File "C:\Temp__programs\Stable Def\extensions\Mask2Background\scripts\inpaint_anything.py", line 43, in wrapper
res = func(*args, **kwargs)
File "C:\Temp__programs\Stable Def\extensions\Mask2Background\scripts\inpaint_anything.py", line 86, in create_mask
for h in range(img.width):
AttributeError: 'NoneType' object has no attribute 'width'