Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,17 +1,3 @@
|
|
1 |
-
# Copyright 2023 The HuggingFace Team. All rights reserved.
|
2 |
-
#
|
3 |
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
-
# you may not use this file except in compliance with the License.
|
5 |
-
# You may obtain a copy of the License at
|
6 |
-
#
|
7 |
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8 |
-
#
|
9 |
-
# Unless required by applicable law or agreed to in writing, software
|
10 |
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11 |
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 |
-
# See the License for the specific language governing permissions and
|
13 |
-
# limitations under the License.
|
14 |
-
|
15 |
import gradio as gr
|
16 |
import spaces
|
17 |
|
@@ -704,7 +690,13 @@ class AccDiffusionSDXLPipeline(DiffusionPipeline, FromSingleFileMixin, LoraLoade
|
|
704 |
c : Optional[float] = 0.3,
|
705 |
):
|
706 |
|
|
|
|
|
707 |
|
|
|
|
|
|
|
|
|
708 |
if debug:
|
709 |
num_inference_steps = 1
|
710 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import spaces
|
3 |
|
|
|
690 |
c : Optional[float] = 0.3,
|
691 |
):
|
692 |
|
693 |
+
"""
|
694 |
+
Stable Diffusion XL ๊ธฐ๋ฐ AccDiffusion ํ์ดํ๋ผ์ธ์ ํตํด ์ด๋ฏธ์ง๋ฅผ ์์ฑํ๋ ํจ์์
๋๋ค.
|
695 |
|
696 |
+
์ด ํจ์๋ ์ฃผ์ด์ง ํ๋กฌํํธ๋ฅผ ์ธ์ฝ๋ฉํ๊ณ , ๋๋
ธ์ด์ง ๋ฐ progressive upscaling ๊ณผ์ ์ ๊ฑฐ์ณ ์ต์ข
์ด๋ฏธ์ง๋ฅผ ์์ฑํฉ๋๋ค.
|
697 |
+
์์ธํ ์ฌ์ฉ๋ฒ์ ๋ฌธ์๋ฅผ ์ฐธ๊ณ ํ์ธ์.
|
698 |
+
"""
|
699 |
+
|
700 |
if debug:
|
701 |
num_inference_steps = 1
|
702 |
|