小修
This commit is contained in:
parent
ab82c81192
commit
7a3e5e06c9
@ -122,7 +122,7 @@ class ImagePreprocessor:
|
|||||||
free_space = disk_usage.free
|
free_space = disk_usage.free
|
||||||
|
|
||||||
# 计算所需空间(输入大小的1.5倍)
|
# 计算所需空间(输入大小的1.5倍)
|
||||||
required_space = input_size * 1.5
|
required_space = input_size * 12
|
||||||
|
|
||||||
if free_space < required_space:
|
if free_space < required_space:
|
||||||
error_msg = (
|
error_msg = (
|
||||||
|
Loading…
Reference in New Issue
Block a user