Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -40,6 +40,7 @@ def init_huggingface():
|
|
40 |
stderr=subprocess.PIPE,
|
41 |
text=True
|
42 |
)
|
|
|
43 |
return hf_hub_download(
|
44 |
repo_id="microsoft/BiomedParse",
|
45 |
filename="biomedparse_v1.pt",
|
|
|
40 |
stderr=subprocess.PIPE,
|
41 |
text=True
|
42 |
)
|
43 |
+
subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'mpi4py'])
|
44 |
return hf_hub_download(
|
45 |
repo_id="microsoft/BiomedParse",
|
46 |
filename="biomedparse_v1.pt",
|