tuan2308 commited on
Commit
039eed5
·
verified ·
1 Parent(s): c24437c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,4 +1,8 @@
1
  import os
 
 
 
 
2
  import spaces
3
  import torch
4
  from diffusers import QwenImageEditPlusPipeline
 
1
  import os
2
+
3
+ # Bỏ qua yêu cầu torchvision (ZeroGPU không cài sẵn).
4
+ os.environ.setdefault("TRANSFORMERS_NO_TORCHVISION", "1")
5
+
6
  import spaces
7
  import torch
8
  from diffusers import QwenImageEditPlusPipeline