Spaces:
Runtime error
Runtime error
DeepCoreB4
commited on
Commit
•
e7d342b
1
Parent(s):
185f5d4
Update app.py
Browse files
app.py
CHANGED
@@ -299,10 +299,7 @@ def prepare_environment():
|
|
299 |
if not skip_python_version_check:
|
300 |
check_python_version()
|
301 |
|
302 |
-
commit = commit_hash()
|
303 |
-
|
304 |
print(f"Python {sys.version}")
|
305 |
-
print(f"Commit hash: {commit}")
|
306 |
|
307 |
if reinstall_torch or not is_installed("torch") or not is_installed("torchvision"):
|
308 |
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision",
|
|
|
299 |
if not skip_python_version_check:
|
300 |
check_python_version()
|
301 |
|
|
|
|
|
302 |
print(f"Python {sys.version}")
|
|
|
303 |
|
304 |
if reinstall_torch or not is_installed("torch") or not is_installed("torchvision"):
|
305 |
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision",
|