Update worker_runpod.py
Browse files- worker_runpod.py +1 -1
worker_runpod.py
CHANGED
@@ -83,7 +83,7 @@ def generate(input):
|
|
83 |
}
|
84 |
supported_tasks[args.task](args).run()
|
85 |
|
86 |
-
if args.
|
87 |
result = "/content/result/restored_backgrounds/diffbir_tost.png"
|
88 |
else:
|
89 |
result = "/content/result/diffbir_tost.png"
|
|
|
83 |
}
|
84 |
supported_tasks[args.task](args).run()
|
85 |
|
86 |
+
if args.task == "fr_bg":
|
87 |
result = "/content/result/restored_backgrounds/diffbir_tost.png"
|
88 |
else:
|
89 |
result = "/content/result/diffbir_tost.png"
|