Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
β’
4e4d5e9
1
Parent(s):
6b9036a
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,7 @@ from bark.api import save_as_prompt
|
|
17 |
from util.settings import Settings
|
18 |
#import nltk
|
19 |
|
|
|
20 |
from bark import SAMPLE_RATE
|
21 |
from cloning.clonevoice import clone_voice
|
22 |
from bark.generation import SAMPLE_RATE, preload_models, _load_history_prompt, codec_decode
|
@@ -222,9 +223,9 @@ def create_version_html():
|
|
222 |
python_version = ".".join([str(x) for x in sys.version_info[0:3]])
|
223 |
versions_html = f"""
|
224 |
python: <span title="{sys.version}">{python_version}</span>
|
225 |
-
|
226 |
torch: {getattr(torch, '__long_version__',torch.__version__)}
|
227 |
-
|
228 |
gradio: {gr.__version__}
|
229 |
"""
|
230 |
return versions_html
|
|
|
17 |
from util.settings import Settings
|
18 |
#import nltk
|
19 |
|
20 |
+
|
21 |
from bark import SAMPLE_RATE
|
22 |
from cloning.clonevoice import clone_voice
|
23 |
from bark.generation import SAMPLE_RATE, preload_models, _load_history_prompt, codec_decode
|
|
|
223 |
python_version = ".".join([str(x) for x in sys.version_info[0:3]])
|
224 |
versions_html = f"""
|
225 |
python: <span title="{sys.version}">{python_version}</span>
|
226 |
+
ββ’β
|
227 |
torch: {getattr(torch, '__long_version__',torch.__version__)}
|
228 |
+
ββ’β
|
229 |
gradio: {gr.__version__}
|
230 |
"""
|
231 |
return versions_html
|