badayvedat
commited on
Commit
•
4bd7d79
1
Parent(s):
b098573
docs: update description
Browse files- constants.py +6 -0
- model.py +0 -1
constants.py
CHANGED
@@ -1,5 +1,11 @@
|
|
1 |
DESCRIPTION = """
|
2 |
# Real Time Latent Consistency Model
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"""
|
4 |
|
5 |
|
|
|
1 |
DESCRIPTION = """
|
2 |
# Real Time Latent Consistency Model
|
3 |
+
|
4 |
+
This space is using a **CPU runtime**, and it takes about 30 seconds to generate an image.
|
5 |
+
For a faster experience, you can duplicate it and use with a **GPU runtime**.
|
6 |
+
|
7 |
+
At the meantime you can use **[dynamic 🔥](https://www.fal.ai/dynamic)** by [fal](fal.ai), or **[a hosted space 🤗](https://huggingface.co/spaces/fal-ai/realtime-stable-diffusion)**
|
8 |
+
to generate images in real time.
|
9 |
"""
|
10 |
|
11 |
|
model.py
CHANGED
@@ -34,7 +34,6 @@ def get_test_pipeline():
|
|
34 |
|
35 |
class Pipeline:
|
36 |
def __call__(self, *args: Any, **kwds: Any) -> Any:
|
37 |
-
time.sleep(0.5)
|
38 |
r = random.randint(0, 255)
|
39 |
g = random.randint(0, 255)
|
40 |
b = random.randint(0, 255)
|
|
|
34 |
|
35 |
class Pipeline:
|
36 |
def __call__(self, *args: Any, **kwds: Any) -> Any:
|
|
|
37 |
r = random.randint(0, 255)
|
38 |
g = random.randint(0, 255)
|
39 |
b = random.randint(0, 255)
|