VeuReu commited on
Commit
d6331c6
·
verified ·
1 Parent(s): 4e70804

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -386,6 +386,11 @@ def _get_image_list_description(
386
 
387
  all_results.append(desc)
388
 
 
 
 
 
 
389
  return all_results
390
 
391
  @spaces.GPU
 
386
 
387
  all_results.append(desc)
388
 
389
+ del model
390
+ del imputs
391
+ del output
392
+ torch.cuda.empty_cache()
393
+
394
  return all_results
395
 
396
  @spaces.GPU