debisoft commited on
Commit
a8a7ed0
·
1 Parent(s): 1425db1
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -163,7 +163,7 @@ def sample_ddim(n_sample, n=20):
163
 
164
  def greet(input):
165
  samples, intermediate = sample_ddim(32, n=25)
166
- transformImg = T.ToPILImage()
167
  response = transformImg(transform(intermediate[-1][-1]))
168
  return response
169
 
 
163
 
164
  def greet(input):
165
  samples, intermediate = sample_ddim(32, n=25)
166
+ transformImg = transforms.ToPILImage()
167
  response = transformImg(transform(intermediate[-1][-1]))
168
  return response
169