lemonaddie commited on
Commit
564a287
1 Parent(s): acd2952

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -1
app.py CHANGED
@@ -276,8 +276,25 @@ def main():
276
  pass # run without xformers
277
 
278
  pipe = pipe.to(device)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
 
280
- run_demo_server(pipe)
281
 
282
 
283
  if __name__ == "__main__":
 
276
  pass # run without xformers
277
 
278
  pipe = pipe.to(device)
279
+
280
+
281
+ input_image = Image.open('files/bee.jpg')
282
+ print(1)
283
+
284
+ pipe_out = pipe(
285
+ input_image,
286
+ denoising_steps=denoise_steps,
287
+ ensemble_size=ensemble_size,
288
+ processing_res=processing_res,
289
+ batch_size=1 if processing_res == 0 else 0,
290
+ guidance_scale=3,
291
+ domain="indoor",
292
+ show_progress_bar=True,
293
+ )
294
+
295
+ print(1)
296
 
297
+ # run_demo_server(pipe)
298
 
299
 
300
  if __name__ == "__main__":