Spaces:
Running
on
Zero
Running
on
Zero
Julian Bilcke
commited on
Commit
·
fdc981a
1
Parent(s):
cda2b7d
hmm
Browse files- app_gradio.py +3 -3
app_gradio.py
CHANGED
|
@@ -319,9 +319,9 @@ generation_system = GenerationSystem(ckpt_path=ckpt_path, device=device, offload
|
|
| 319 |
print("Model loaded successfully!")
|
| 320 |
|
| 321 |
|
| 322 |
-
# GPU-decorated generation function with
|
| 323 |
-
# (
|
| 324 |
-
@GPU(duration=
|
| 325 |
def generate_scene(
|
| 326 |
image_prompt,
|
| 327 |
text_prompt,
|
|
|
|
| 319 |
print("Model loaded successfully!")
|
| 320 |
|
| 321 |
|
| 322 |
+
# GPU-decorated generation function with 120-second budget
|
| 323 |
+
# (yes, it should be shorted.. idk why it is slow, maybe we are missing some optimizations in the dependencies, or the attention mechanism)
|
| 324 |
+
@GPU(duration=120)
|
| 325 |
def generate_scene(
|
| 326 |
image_prompt,
|
| 327 |
text_prompt,
|