seawolf2357 commited on
Commit
5fd4d69
·
verified ·
1 Parent(s): 14f1ed0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,8 +11,8 @@ from custom_pipeline import FluxWithCFGPipeline
11
  MAX_SEED = np.iinfo(np.int32).max
12
  MAX_IMAGE_SIZE = 2048
13
  DEFAULT_WIDTH = 1024
14
- DEFAULT_HEIGHT = 1024
15
- DEFAULT_INFERENCE_STEPS = 1
16
 
17
  # Device and model setup
18
  dtype = torch.float16
@@ -73,7 +73,7 @@ with gr.Blocks() as demo:
73
  with gr.Column(scale=1):
74
  prompt = gr.Text(
75
  label="Prompt",
76
- placeholder="Describe the image you want to generate...",
77
  lines=3,
78
  show_label=False,
79
  container=False,
 
11
  MAX_SEED = np.iinfo(np.int32).max
12
  MAX_IMAGE_SIZE = 2048
13
  DEFAULT_WIDTH = 1024
14
+ DEFAULT_HEIGHT = 768
15
+ DEFAULT_INFERENCE_STEPS = 4
16
 
17
  # Device and model setup
18
  dtype = torch.float16
 
73
  with gr.Column(scale=1):
74
  prompt = gr.Text(
75
  label="Prompt",
76
+ placeholder="sexy woman & man , under wear, full body, sunday",
77
  lines=3,
78
  show_label=False,
79
  container=False,