Spaces:
Runtime error
Runtime error
init
Browse files
app.py
CHANGED
@@ -54,10 +54,10 @@ def run(
|
|
54 |
checkpoint_dir = os.path.join(curPath, 'animeganv2/checkpoint/generator_Shinkai_weight')
|
55 |
print(checkpoint_dir)
|
56 |
|
57 |
-
test.test(checkpoint_dir, 'save_dir', image.name, True)
|
58 |
|
59 |
|
60 |
-
return PIL.Image.open(
|
61 |
|
62 |
|
63 |
def main():
|
|
|
54 |
checkpoint_dir = os.path.join(curPath, 'animeganv2/checkpoint/generator_Shinkai_weight')
|
55 |
print(checkpoint_dir)
|
56 |
|
57 |
+
outs = test.test(checkpoint_dir, 'save_dir', image.name, True)
|
58 |
|
59 |
|
60 |
+
return PIL.Image.open(outs[0])
|
61 |
|
62 |
|
63 |
def main():
|