Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,11 +36,8 @@ examples = [
|
|
| 36 |
|
| 37 |
MODEL_OPTIONS = {
|
| 38 |
|
| 39 |
-
"REALVISXL V5.0": "SG161222/RealVisXL_V5.0",
|
| 40 |
"LIGHTNING V5.0": "SG161222/RealVisXL_V5.0_Lightning",
|
| 41 |
-
"REALVISXL V4.0": "SG161222/RealVisXL_V4.0",
|
| 42 |
"LIGHTNING V4.0": "SG161222/RealVisXL_V4.0_Lightning",
|
| 43 |
-
"REALVISXL V3.0 TURBO": "SG161222/RealVisXL_V3.0_Turbo",
|
| 44 |
}
|
| 45 |
|
| 46 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
|
|
@@ -204,7 +201,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 204 |
model_choice = gr.Dropdown(
|
| 205 |
label="Model Selection 🪄",
|
| 206 |
choices=list(MODEL_OPTIONS.keys()),
|
| 207 |
-
value="LIGHTNING
|
| 208 |
)
|
| 209 |
|
| 210 |
with gr.Accordion("Advanced options", open=False, visible=False):
|
|
|
|
| 36 |
|
| 37 |
MODEL_OPTIONS = {
|
| 38 |
|
|
|
|
| 39 |
"LIGHTNING V5.0": "SG161222/RealVisXL_V5.0_Lightning",
|
|
|
|
| 40 |
"LIGHTNING V4.0": "SG161222/RealVisXL_V4.0_Lightning",
|
|
|
|
| 41 |
}
|
| 42 |
|
| 43 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
|
|
|
|
| 201 |
model_choice = gr.Dropdown(
|
| 202 |
label="Model Selection 🪄",
|
| 203 |
choices=list(MODEL_OPTIONS.keys()),
|
| 204 |
+
value="LIGHTNING V4.0"
|
| 205 |
)
|
| 206 |
|
| 207 |
with gr.Accordion("Advanced options", open=False, visible=False):
|