Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,3 @@
|
|
1 |
-
#!/usr/bin/env python
|
2 |
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
3 |
-
# of this software and associated documentation files (the "Software"), to deal
|
4 |
-
# in the Software without restriction, including without limitation the rights
|
5 |
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
6 |
-
# copies of the Software, and to permit persons to whom the Software is
|
7 |
-
|
8 |
import os
|
9 |
import random
|
10 |
import uuid
|
@@ -16,13 +9,12 @@ import torch
|
|
16 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
17 |
from typing import Tuple
|
18 |
|
19 |
-
css =
|
20 |
-
.gradio-container{max-width: 570px !important}
|
21 |
-
h1{text-align:center}
|
22 |
footer {
|
23 |
-
visibility: hidden
|
24 |
}
|
25 |
-
|
|
|
26 |
|
27 |
DESCRIPTIONXX = """
|
28 |
## REALVISXL V5.0 ⚡
|
@@ -195,7 +187,7 @@ def load_predefined_images1():
|
|
195 |
# return predefined_image
|
196 |
|
197 |
|
198 |
-
with gr.Blocks(
|
199 |
gr.Markdown(DESCRIPTIONXX)
|
200 |
with gr.Row():
|
201 |
prompt = gr.Text(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import os
|
2 |
import random
|
3 |
import uuid
|
|
|
9 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
10 |
from typing import Tuple
|
11 |
|
12 |
+
css = """
|
|
|
|
|
13 |
footer {
|
14 |
+
visibility: hidden;
|
15 |
}
|
16 |
+
"""
|
17 |
+
|
18 |
|
19 |
DESCRIPTIONXX = """
|
20 |
## REALVISXL V5.0 ⚡
|
|
|
187 |
# return predefined_image
|
188 |
|
189 |
|
190 |
+
with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
|
191 |
gr.Markdown(DESCRIPTIONXX)
|
192 |
with gr.Row():
|
193 |
prompt = gr.Text(
|