Spaces:
Sleeping
Sleeping
prithivMLmods
commited on
Commit
•
9c81c72
1
Parent(s):
faacfe7
Update app.py
Browse files
app.py
CHANGED
@@ -27,8 +27,8 @@ examples = [
|
|
27 |
]
|
28 |
|
29 |
MODEL_OPTIONS = {
|
30 |
-
"REALVISXL V5.0": "SG161222/RealVisXL_V4.0_Lightning",
|
31 |
-
"V5.0 LIGHTNING": "SG161222/RealVisXL_V3.0_Turbo",
|
32 |
|
33 |
}
|
34 |
|
@@ -145,14 +145,14 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
145 |
placeholder="Enter your prompt",
|
146 |
container=False,
|
147 |
)
|
148 |
-
run_button = gr.Button("Run
|
149 |
result = gr.Gallery(label="Result", columns=1, show_label=False)
|
150 |
|
151 |
with gr.Row():
|
152 |
model_choice = gr.Dropdown(
|
153 |
label="Model Selection",
|
154 |
choices=list(MODEL_OPTIONS.keys()),
|
155 |
-
value="REALVISXL V5.0"
|
156 |
)
|
157 |
|
158 |
with gr.Accordion("Advanced options", open=False, visible=True):
|
|
|
27 |
]
|
28 |
|
29 |
MODEL_OPTIONS = {
|
30 |
+
"1️⃣REALVISXL V5.0": "SG161222/RealVisXL_V4.0_Lightning",
|
31 |
+
"2️⃣V5.0 LIGHTNING": "SG161222/RealVisXL_V3.0_Turbo",
|
32 |
|
33 |
}
|
34 |
|
|
|
145 |
placeholder="Enter your prompt",
|
146 |
container=False,
|
147 |
)
|
148 |
+
run_button = gr.Button("Run", scale=0)
|
149 |
result = gr.Gallery(label="Result", columns=1, show_label=False)
|
150 |
|
151 |
with gr.Row():
|
152 |
model_choice = gr.Dropdown(
|
153 |
label="Model Selection",
|
154 |
choices=list(MODEL_OPTIONS.keys()),
|
155 |
+
value="1️⃣REALVISXL V5.0"
|
156 |
)
|
157 |
|
158 |
with gr.Accordion("Advanced options", open=False, visible=True):
|