Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
50aa35c
1
Parent(s):
46e2eb7
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,7 @@ examples = [
|
|
29 |
MODEL_OPTIONS = {
|
30 |
"Lightning": "SG161222/RealVisXL_V4.0_Lightning",
|
31 |
"Realvision": "SG161222/RealVisXL_V4.0",
|
|
|
32 |
}
|
33 |
|
34 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
|
@@ -257,4 +258,4 @@ with gr.Blocks(css=css) as demo:
|
|
257 |
# gr.Markdown("### Image Gallery")
|
258 |
# predefined_gallery = gr.Gallery(label="Image Gallery", columns=4, show_label=False, value=load_predefined_images())
|
259 |
if __name__ == "__main__":
|
260 |
-
demo.queue(max_size=
|
|
|
29 |
MODEL_OPTIONS = {
|
30 |
"Lightning": "SG161222/RealVisXL_V4.0_Lightning",
|
31 |
"Realvision": "SG161222/RealVisXL_V4.0",
|
32 |
+
"Mobius": "Corcelio/mobius"
|
33 |
}
|
34 |
|
35 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
|
|
|
258 |
# gr.Markdown("### Image Gallery")
|
259 |
# predefined_gallery = gr.Gallery(label="Image Gallery", columns=4, show_label=False, value=load_predefined_images())
|
260 |
if __name__ == "__main__":
|
261 |
+
demo.queue(max_size=20).launch(show_api=False)
|