kadirnar commited on
Commit
643db09
1 Parent(s): e26fdc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -19,7 +19,7 @@ def stable_diffusion_zoom_out(
19
  image_size=512,
20
  fps=16
21
  ):
22
- pipe = DiffusionPipeline.from_pretrained(repo_id, torch_dtype=torch.float16)
23
  pipe.set_use_memory_efficient_attention_xformers(True)
24
  pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
25
  pipe = pipe.to("cuda")
@@ -73,9 +73,7 @@ inputs = [
73
 
74
  output = gr.outputs.Video()
75
  examples = [
76
- ["stabilityai/stable-diffusion-2-inpainting", orig_prompt, orig_negative_prompt, 32, 10, 512, 16],
77
- ["prompthero/openjourney", orig_prompt, orig_negative_prompt, 32, 10, 512, 16]
78
- ]
79
 
80
  title = "Stable Diffusion Infinite Zoom Out"
81
 
 
19
  image_size=512,
20
  fps=16
21
  ):
22
+ pipe = DiffusionPipeline.from_pretrained(repo_id, torch_dtype=torch.float16, revision="fp16")
23
  pipe.set_use_memory_efficient_attention_xformers(True)
24
  pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
25
  pipe = pipe.to("cuda")
 
73
 
74
  output = gr.outputs.Video()
75
  examples = [
76
+ ["stabilityai/stable-diffusion-2-inpainting", orig_prompt, orig_negative_prompt, 32, 10, 512, 16]]
 
 
77
 
78
  title = "Stable Diffusion Infinite Zoom Out"
79