wei commited on
Commit
d65a78a
·
1 Parent(s): 949e579
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,7 +6,8 @@ from diffusers import DiffusionPipeline
6
  import torch
7
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
- model_repo_id = "enhanceaiteam/Flux-uncensored" #Replace to the model you would like to use
 
10
 
11
  if torch.cuda.is_available():
12
  torch_dtype = torch.float16
@@ -140,4 +141,3 @@ with gr.Blocks(css=css) as demo:
140
  )
141
 
142
  demo.queue().launch()
143
-
 
6
  import torch
7
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
+ model_repo_id = "black-forest-labs/FLUX.1-schnell" #Replace to the model you would like to use
10
+ #enhanceaiteam/Flux-uncensored
11
 
12
  if torch.cuda.is_available():
13
  torch_dtype = torch.float16
 
141
  )
142
 
143
  demo.queue().launch()