fix: LoadImage (Inspire) crash when refresh
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
||||
|
||||
import importlib
|
||||
|
||||
print(f"### Loading: ComfyUI-Inspire-Pack (V0.28.2)")
|
||||
print(f"### Loading: ComfyUI-Inspire-Pack (V0.28.3)")
|
||||
|
||||
node_list = [
|
||||
"lora_block_weight",
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ app.registerExtension({
|
||||
get() {
|
||||
if(this._img == undefined && w.value != '') {
|
||||
this._img = [new Image()];
|
||||
if(w.value != '[IMAGE DATA]')
|
||||
if(w.value && w.value != '[IMAGE DATA]')
|
||||
this._img[0].src = w.value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user