Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
braindotai committed Feb 15, 2021
1 parent d3f0a09 commit 6320743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from helper import *
from model.generator import SkipEncoderDecoder, input_noise

def remove_watermark(image_path, mask_path, max_dim, reg_noise, input_depth, lr, show_step, training_steps):
def remove_watermark(image_path, mask_path, max_dim, reg_noise, input_depth, lr, show_step, training_steps, tqdm = tqdm):
DTYPE = torch.cuda.FloatTensor if torch.cuda.is_available() else torch.FloatTensor
if not torch.cuda.is_available():
print('\nSetting device to "cpu", since torch is not built with "cuda" support...')
Expand Down

0 comments on commit 6320743

Please sign in to comment.