camenduru commited on
Commit
ee5bc94
1 Parent(s): bb154bd

Update worker_runpod.py

Browse files
Files changed (1) hide show
  1. 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.version == "fr_bg":
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"