Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -274,9 +274,9 @@ def generate(
|
|
274 |
def fake_generate(*args,use_upscaler=False,**kwargs):
|
275 |
args = ",".join(args)
|
276 |
|
277 |
-
result, metadata = generate(
|
278 |
|
279 |
-
return
|
280 |
|
281 |
if torch.cuda.is_available():
|
282 |
pipe, img_pipe = load_pipeline(MODEL)
|
|
|
274 |
def fake_generate(*args,use_upscaler=False,**kwargs):
|
275 |
args = ",".join(args)
|
276 |
|
277 |
+
result, metadata = generate(args, use_upscaler=use_upscaler)
|
278 |
|
279 |
+
return None, None
|
280 |
|
281 |
if torch.cuda.is_available():
|
282 |
pipe, img_pipe = load_pipeline(MODEL)
|