Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,6 @@ examples = [
|
|
37 |
]
|
38 |
|
39 |
MODEL_OPTIONS = {
|
40 |
-
# "REALVISXL V5.0": "SG161222/RealVisXL_V5.0",
|
41 |
"REALVISXL V5.0 BF16": "ford442/RealVisXL_V5.0_BF16",
|
42 |
}
|
43 |
|
@@ -87,7 +86,6 @@ def apply_style(style_name: str, positive: str, negative: str = "") -> Tuple[str
|
|
87 |
|
88 |
def load_and_prepare_model(model_id):
|
89 |
model_dtypes = {
|
90 |
-
#"SG161222/RealVisXL_V5.0": torch.float32,
|
91 |
"ford442/RealVisXL_V5.0_BF16": torch.bfloat16,
|
92 |
}
|
93 |
|
@@ -287,7 +285,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
287 |
num_inference_steps = gr.Slider(
|
288 |
label="Number of inference steps",
|
289 |
minimum=10,
|
290 |
-
maximum=
|
291 |
step=10,
|
292 |
value=150,
|
293 |
)
|
|
|
37 |
]
|
38 |
|
39 |
MODEL_OPTIONS = {
|
|
|
40 |
"REALVISXL V5.0 BF16": "ford442/RealVisXL_V5.0_BF16",
|
41 |
}
|
42 |
|
|
|
86 |
|
87 |
def load_and_prepare_model(model_id):
|
88 |
model_dtypes = {
|
|
|
89 |
"ford442/RealVisXL_V5.0_BF16": torch.bfloat16,
|
90 |
}
|
91 |
|
|
|
285 |
num_inference_steps = gr.Slider(
|
286 |
label="Number of inference steps",
|
287 |
minimum=10,
|
288 |
+
maximum=1000,
|
289 |
step=10,
|
290 |
value=150,
|
291 |
)
|