sob111 commited on
Commit
f16e211
·
verified ·
1 Parent(s): fde4a29

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import sys
2
+ import importlib
3
+
4
+ print("Python version:", sys.version)
5
+ for pkg in ["TTS", "datasets", "huggingface_hub", "soundfile", "librosa"]:
6
+ try:
7
+ mod = importlib.import_module(pkg)
8
+ print(f"{pkg} version:", getattr(mod, "__version__", "unknown"))
9
+ except ImportError:
10
+ print(f"{pkg} not installed")
11
+
12
+ print("All good, Python 3.11 is working in Docker Space.")