davidi-bria commited on
Commit
db17d5e
·
1 Parent(s): ca91de2

support for pre diffuseres support

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ resolutions = ["1024 1024","1280 768","1344 768","768 1344","768 1280"]
11
  # Ng
12
  default_negative_prompt= "Logo,Watermark,Ugly,Morbid,Extra fingers,Poorly drawn hands,Mutation,Blurry,Extra limbs,Gross proportions,Missing arms,Mutated hands,Long neck,Duplicate,Mutilated,Mutilated hands,Poorly drawn face,Deformed,Bad anatomy,Cloned face,Malformed limbs,Missing legs,Too many fingers"
13
 
14
- pipe = BriaPipeline.from_pretrained("briaai/BRIA-3.2", torch_dtype=torch.bfloat16,trust_remote_code=True)
15
  pipe.to(device="cuda")
16
 
17
  @spaces.GPU(enable_queue=True)
 
11
  # Ng
12
  default_negative_prompt= "Logo,Watermark,Ugly,Morbid,Extra fingers,Poorly drawn hands,Mutation,Blurry,Extra limbs,Gross proportions,Missing arms,Mutated hands,Long neck,Duplicate,Mutilated,Mutilated hands,Poorly drawn face,Deformed,Bad anatomy,Cloned face,Malformed limbs,Missing legs,Too many fingers"
13
 
14
+ pipe = BriaPipeline.from_pretrained("briaai/BRIA-3.2",revision="pre_diffusers_support", torch_dtype=torch.bfloat16,trust_remote_code=True)
15
  pipe.to(device="cuda")
16
 
17
  @spaces.GPU(enable_queue=True)