kadirnar commited on
Commit
20e6fde
1 Parent(s): ddd6cdd

Update stable_cascade.py

Browse files
Files changed (1) hide show
  1. stable_cascade.py +1 -1
stable_cascade.py CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
5
  os.environ['TOKENIZERS_PARALLELISM'] = 'false'
6
 
7
  prior = StableCascadePriorPipeline.from_pretrained("stabilityai/stable-cascade-prior", torch_dtype=torch.bfloat16).to("cuda")
8
- decoder = StableCascadeDecoderPipeline.from_pretrained("stabilityai/stable-cascade", torch_dtype=torch.bfloat16).to("cuda")
9
 
10
  def generate_images(
11
  prompt="a photo of a girl",
 
5
  os.environ['TOKENIZERS_PARALLELISM'] = 'false'
6
 
7
  prior = StableCascadePriorPipeline.from_pretrained("stabilityai/stable-cascade-prior", torch_dtype=torch.bfloat16).to("cuda")
8
+ decoder = StableCascadeDecoderPipeline.from_pretrained("stabilityai/stable-cascade", torch_dtype=torch.float16).to("cuda")
9
 
10
  def generate_images(
11
  prompt="a photo of a girl",