Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,9 +13,6 @@ from pathlib import Path
|
|
| 13 |
from platform import system as platform_system , architecture as platform_architecture
|
| 14 |
import nest_asyncio
|
| 15 |
nest_asyncio.apply()
|
| 16 |
-
environ['TF_CPP_MIN_LOG_LEVEL'] = 2
|
| 17 |
-
environ['TF_FORCE_GPU_ALLOW_GROWTH'] = True
|
| 18 |
-
environ['TF_ENABLE_ONEDNN_OPTS'] = 0
|
| 19 |
|
| 20 |
unpack_archive(hf_hub_download("shethjenil/Audio2Midi_Models",f"melodia_vamp_plugin_{'win' if (system := platform_system()) == 'Windows' else 'mac' if system == 'Darwin' else 'linux64' if (arch := platform_architecture()[0]) == '64bit' else 'linux32' if arch == '32bit' else None}.zip"),"vamp_melodia",format="zip")
|
| 21 |
unpack_archive(hf_hub_download("shethjenil/Audio2Midi_Models","mt3.zip"),"mt3_model",format="zip")
|
|
|
|
| 13 |
from platform import system as platform_system , architecture as platform_architecture
|
| 14 |
import nest_asyncio
|
| 15 |
nest_asyncio.apply()
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
unpack_archive(hf_hub_download("shethjenil/Audio2Midi_Models",f"melodia_vamp_plugin_{'win' if (system := platform_system()) == 'Windows' else 'mac' if system == 'Darwin' else 'linux64' if (arch := platform_architecture()[0]) == '64bit' else 'linux32' if arch == '32bit' else None}.zip"),"vamp_melodia",format="zip")
|
| 18 |
unpack_archive(hf_hub_download("shethjenil/Audio2Midi_Models","mt3.zip"),"mt3_model",format="zip")
|