hysts HF staff commited on
Commit
abc1a71
1 Parent(s): 1c9ce50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -5,6 +5,10 @@ import numpy as np
5
  import time
6
  import random
7
  from PIL import Image
 
 
 
 
8
  from transparent_background import Remover
9
 
10
  @spaces.GPU()
 
5
  import time
6
  import random
7
  from PIL import Image
8
+ import torch
9
+
10
+ torch.jit.script = lambda f: f
11
+
12
  from transparent_background import Remover
13
 
14
  @spaces.GPU()