delete gpu warning

This commit is contained in:
yuruo
2025-03-21 10:46:50 +08:00
parent 28b723d144
commit 33dd99b1d8

View File

@@ -4,8 +4,6 @@ import os
from util import download_weights
os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
def run():
if not torch.cuda.is_available():
print("Warning: GPU is not available, we will use CPU, the application may run slower!\nyou computer will very likely heat up!")
download_weights.download()
app.run()