randomtable commited on
Commit
636c387
1 Parent(s): 886f482

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -6,7 +6,7 @@ from diffusers import DiffusionPipeline
6
  import torch
7
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
- model_repo_id = "stabilityai/sdxl-turbo" #Replace to the model you would like to use
10
 
11
  if torch.cuda.is_available():
12
  torch_dtype = torch.float16
@@ -99,7 +99,7 @@ with gr.Blocks(css=css) as demo:
99
  minimum=256,
100
  maximum=MAX_IMAGE_SIZE,
101
  step=32,
102
- value=1024, #Replace with defaults that work for your model
103
  )
104
 
105
  height = gr.Slider(
@@ -107,7 +107,7 @@ with gr.Blocks(css=css) as demo:
107
  minimum=256,
108
  maximum=MAX_IMAGE_SIZE,
109
  step=32,
110
- value=1024, #Replace with defaults that work for your model
111
  )
112
 
113
  with gr.Row():
 
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
 
11
  if torch.cuda.is_available():
12
  torch_dtype = torch.float16
 
99
  minimum=256,
100
  maximum=MAX_IMAGE_SIZE,
101
  step=32,
102
+ value=10240, #Replace with defaults that work for your model
103
  )
104
 
105
  height = gr.Slider(
 
107
  minimum=256,
108
  maximum=MAX_IMAGE_SIZE,
109
  step=32,
110
+ value=10240, #Replace with defaults that work for your model
111
  )
112
 
113
  with gr.Row():