Spaces:
Runtime error
Runtime error
lzyhha
commited on
Commit
·
fc00740
1
Parent(s):
8e96e96
duration
Browse files
app.py
CHANGED
|
@@ -24,9 +24,14 @@ GUIDANCE = """
|
|
| 24 |
4. Click **Generate** to create the images.
|
| 25 |
5. Parameters can be fine-tuned under **Advanced Options**.
|
| 26 |
|
| 27 |
-
<div style='font-size:
|
| 28 |
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
"""
|
| 32 |
|
|
@@ -455,7 +460,7 @@ def create_demo(model):
|
|
| 455 |
return demo
|
| 456 |
|
| 457 |
|
| 458 |
-
@spaces.GPU()
|
| 459 |
def generate(
|
| 460 |
images,
|
| 461 |
prompts,
|
|
|
|
| 24 |
4. Click **Generate** to create the images.
|
| 25 |
5. Parameters can be fine-tuned under **Advanced Options**.
|
| 26 |
|
| 27 |
+
<div style='font-size: 20px; color:red;'>🔥 Click the task button in the right bottom to acquire examples of various tasks.</div>
|
| 28 |
|
| 29 |
+
<div style='font-size: 20px; '> 📧 Need help or have questions? Contact us at: lizhongyu [AT] mail.nankai.edu.cn</div>
|
| 30 |
+
|
| 31 |
+
<div style='font-size: 20px;'>
|
| 32 |
+
💻 The runtime on the zero GPU runtime depends on the size of the image grid.
|
| 33 |
+
For images with the resoluation of 1024, the runtime is approximately <span style='font-weight: bold; color:red;'>[45s for a 2x2 grid], [55s for a 2x3 grid]</span>.
|
| 34 |
+
</div>
|
| 35 |
|
| 36 |
"""
|
| 37 |
|
|
|
|
| 460 |
return demo
|
| 461 |
|
| 462 |
|
| 463 |
+
@spaces.GPU(duration=120)
|
| 464 |
def generate(
|
| 465 |
images,
|
| 466 |
prompts,
|