Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
β’
da1b313
1
Parent(s):
a8097d7
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,6 @@ from bark.api import save_as_prompt
|
|
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
|
@@ -222,9 +221,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 |
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
|
|
|
221 |
python_version = ".".join([str(x) for x in sys.version_info[0:3]])
|
222 |
versions_html = f"""
|
223 |
python: <span title="{sys.version}">{python_version}</span>
|
224 |
+
ββ’β
|
225 |
torch: {getattr(torch, '__long_version__',torch.__version__)}
|
226 |
+
ββ’β
|
227 |
gradio: {gr.__version__}
|
228 |
"""
|
229 |
return versions_html
|