dongyi commited on
Commit
33437a7
1 Parent(s): a65915c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -167,8 +167,6 @@ def generate_multi_model(input_img):
167
 
168
 
169
  def generate_one_shot(src_img, img_prompt):
170
- output_img = src_img
171
- return output_img
172
 
173
  # init model
174
  state_dict = torch.load(f"./checkpoints/{img_prompt[-2:]}/epoch_latest.pth", map_location='cpu')
 
167
 
168
 
169
  def generate_one_shot(src_img, img_prompt):
 
 
170
 
171
  # init model
172
  state_dict = torch.load(f"./checkpoints/{img_prompt[-2:]}/epoch_latest.pth", map_location='cpu')