File size: 341 Bytes
1b8e9f3
 
 
 
 
 
f5f1c06
 
 
 
 
 
 
 
 
1b8e9f3
06c8dae
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import os
import sys

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
sys.path.insert(0, os.path.dirname(__file__))

try:
    import spaces

    @spaces.GPU
    def _roicropper_gpu_warmup():
        return None
except ImportError:
    pass

from roicropper.web import demo, launch

if __name__ == "__main__":
    launch()