Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -154,7 +154,7 @@ def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
|
|
| 154 |
|
| 155 |
@torch.no_grad()
|
| 156 |
@torch.inference_mode()
|
| 157 |
-
@spaces.GPU(duration=
|
| 158 |
def generate(
|
| 159 |
prompt: str,
|
| 160 |
negative_prompt: str = "",
|
|
@@ -216,7 +216,6 @@ examples = [
|
|
| 216 |
"an astronaut sitting in a diner, eating fries, cinematic, analog film",
|
| 217 |
"Pirate ship trapped in a cosmic maelstrom nebula, rendered in cosmic beach whirlpool engine, volumetric lighting, spectacular, ambient lights, intricate detail.",
|
| 218 |
"professional portrait photo of an anthropomorphic cat wearing fancy gentleman hat and jacket walking in autumn forest.",
|
| 219 |
-
"Outside View from Hotel Made up of Chocolate in space.",
|
| 220 |
]
|
| 221 |
|
| 222 |
with gr.Blocks(css="style.css") as demo:
|
|
|
|
| 154 |
|
| 155 |
@torch.no_grad()
|
| 156 |
@torch.inference_mode()
|
| 157 |
+
@spaces.GPU(duration=60)
|
| 158 |
def generate(
|
| 159 |
prompt: str,
|
| 160 |
negative_prompt: str = "",
|
|
|
|
| 216 |
"an astronaut sitting in a diner, eating fries, cinematic, analog film",
|
| 217 |
"Pirate ship trapped in a cosmic maelstrom nebula, rendered in cosmic beach whirlpool engine, volumetric lighting, spectacular, ambient lights, intricate detail.",
|
| 218 |
"professional portrait photo of an anthropomorphic cat wearing fancy gentleman hat and jacket walking in autumn forest.",
|
|
|
|
| 219 |
]
|
| 220 |
|
| 221 |
with gr.Blocks(css="style.css") as demo:
|