whitney0507 commited on
Commit
dc8f612
·
verified ·
1 Parent(s): 55fb2e3

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -0
handler.py CHANGED
@@ -9,6 +9,8 @@ from huggingface_hub import hf_hub_download
9
  import io
10
  import base64
11
 
 
 
12
  torch.save(model.state_dict(), "UNet_Model.pth")
13
 
14
  # Define your UNet class here (shortened version for example)
 
9
  import io
10
  import base64
11
 
12
+ model = UNet()
13
+
14
  torch.save(model.state_dict(), "UNet_Model.pth")
15
 
16
  # Define your UNet class here (shortened version for example)