From 33dd99b1d85913e560af10d92548107719a96ae9 Mon Sep 17 00:00:00 2001 From: yuruo Date: Fri, 21 Mar 2025 10:46:50 +0800 Subject: [PATCH] delete gpu warning --- main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.py b/main.py index fe706cf..6943169 100644 --- a/main.py +++ b/main.py @@ -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()