Kunpeng Song commited on
Commit
f9b5427
1 Parent(s): 5feb88f
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. app.py +1 -0
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
app.py CHANGED
@@ -19,6 +19,7 @@ model = None
19
 
20
  @spaces.GPU
21
  def inference(rgb, subject, prompt, strength, seed):
 
22
  seed = int(seed) if seed else 0
23
  seed = seed if not seed == 0 else np.random.randint(0,1000)
24
 
 
19
 
20
  @spaces.GPU
21
  def inference(rgb, subject, prompt, strength, seed):
22
+ global model
23
  seed = int(seed) if seed else 0
24
  seed = seed if not seed == 0 else np.random.randint(0,1000)
25