FrancescoLR commited on
Commit
41f5018
·
verified ·
1 Parent(s): 3291a42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -11
app.py CHANGED
@@ -1,16 +1,7 @@
1
- import sys
2
  import subprocess
3
 
4
- # Print installed packages and paths
5
- subprocess.run([sys.executable, "-m", "pip", "list"])
6
- print("Python paths:", sys.path)
7
-
8
- try:
9
- import mednextv1
10
- print("MedNeXt Path:", mednextv1.__file__)
11
- except ModuleNotFoundError:
12
- print("ERROR: mednextv1 not found!")
13
-
14
 
15
 
16
 
 
 
1
  import subprocess
2
 
3
+ # Find where mednextv1 is installed
4
+ subprocess.run(["find", "/usr/local/lib/python3.10/site-packages", "-name", "mednextv1"])
 
 
 
 
 
 
 
 
5
 
6
 
7