fashxp commited on
Commit
64ab5a0
·
1 Parent(s): 1ef36b1

added error handling

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -4,6 +4,7 @@ import torch
4
  import base64
5
  import logging
6
  import numpy as np
 
7
  from PIL import Image
8
  from io import BytesIO
9
  import subprocess
 
4
  import base64
5
  import logging
6
  import numpy as np
7
+ import gc
8
  from PIL import Image
9
  from io import BytesIO
10
  import subprocess