Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from diffusers import AutoPipelineForText2Image, AutoencoderKL #,EulerDiscreteSc
|
|
7 |
from compel import Compel, ReturnedEmbeddingsType
|
8 |
|
9 |
if not torch.cuda.is_available():
|
10 |
-
DESCRIPTION += "\n<p>你现在运行在CPU上
|
11 |
|
12 |
MAX_SEED = np.iinfo(np.int32).max
|
13 |
MAX_IMAGE_SIZE = 4096
|
@@ -77,7 +77,7 @@ footer {
|
|
77 |
|
78 |
with gr.Blocks(css=css) as demo:
|
79 |
gr.Markdown("""# 梦羽的模型生成器
|
80 |
-
### 快速生成
|
81 |
with gr.Group():
|
82 |
with gr.Row():
|
83 |
prompt = gr.Text(
|
|
|
7 |
from compel import Compel, ReturnedEmbeddingsType
|
8 |
|
9 |
if not torch.cuda.is_available():
|
10 |
+
DESCRIPTION += "\n<p>你现在运行在CPU上 但是此项目只支持GPU.</p>"
|
11 |
|
12 |
MAX_SEED = np.iinfo(np.int32).max
|
13 |
MAX_IMAGE_SIZE = 4096
|
|
|
77 |
|
78 |
with gr.Blocks(css=css) as demo:
|
79 |
gr.Markdown("""# 梦羽的模型生成器
|
80 |
+
### 快速生成NoobAIXL v0.75的模型图片""")
|
81 |
with gr.Group():
|
82 |
with gr.Row():
|
83 |
prompt = gr.Text(
|