ThunderVVV commited on
Commit
9bd9bea
·
1 Parent(s): b76bdf4
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -2,6 +2,8 @@ import gradio as gr
2
  # import spaces
3
  import os
4
  os.environ["CUDA_HOME"] = "/usr/local/cuda"
 
 
5
  os.system('pip install ./thirdparty/DROID-SLAM')
6
  import torch
7
  import numpy as np
 
2
  # import spaces
3
  import os
4
  os.environ["CUDA_HOME"] = "/usr/local/cuda"
5
+ os.system('pip cache purge')
6
+ os.system('rm -rf /tmp/pip-*')
7
  os.system('pip install ./thirdparty/DROID-SLAM')
8
  import torch
9
  import numpy as np