shivambhosale commited on
Commit
4a24ad1
1 Parent(s): 816e967

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
5
 
6
  def getoutput(input_img):
7
  unet = UNet().to('cpu')
8
- unet = torch.load("unet_06_07_2022_17_13_42_256_256.pth", map_location='cpu').to('cpu')
9
  output_img = make_predictions(unet, input_img, threshold=0.05)
10
  return output_img
11
 
 
5
 
6
  def getoutput(input_img):
7
  unet = UNet().to('cpu')
8
+ unet = torch.load("unet_06_07_2022_22_43_42_1024_1024.pth", map_location='cpu').to('cpu')
9
  output_img = make_predictions(unet, input_img, threshold=0.05)
10
  return output_img
11