Spaces:
Runtime error
Runtime error
Update
Browse files
app.py
CHANGED
@@ -205,7 +205,7 @@ class FluxGenerator:
|
|
205 |
else:
|
206 |
return None, str(opts.seed), None, "Your generated image may contain NSFW content."
|
207 |
|
208 |
-
@spaces.GPU(duration=
|
209 |
def create_demo(model_name: str, device: str = "cuda", offload: bool = False):
|
210 |
generator = FluxGenerator(model_name, device, offload)
|
211 |
is_schnell = model_name == "flux-schnell"
|
|
|
205 |
else:
|
206 |
return None, str(opts.seed), None, "Your generated image may contain NSFW content."
|
207 |
|
208 |
+
@spaces.GPU(duration=200)
|
209 |
def create_demo(model_name: str, device: str = "cuda", offload: bool = False):
|
210 |
generator = FluxGenerator(model_name, device, offload)
|
211 |
is_schnell = model_name == "flux-schnell"
|