Spaces:
Build error
Build error
Update app.py
Browse files
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 =
|
| 15 |
-
DEFAULT_INFERENCE_STEPS =
|
| 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="
|
| 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,
|