Spaces:
Runtime error
Runtime error
gokaygokay
commited on
Commit
β’
79b12f9
1
Parent(s):
3e96d90
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ from RealESRGAN import RealESRGAN
|
|
20 |
import gradio as gr
|
21 |
from gradio_imageslider import ImageSlider
|
22 |
|
23 |
-
USE_TORCH_COMPILE =
|
24 |
ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
|
25 |
|
26 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
20 |
import gradio as gr
|
21 |
from gradio_imageslider import ImageSlider
|
22 |
|
23 |
+
USE_TORCH_COMPILE = False
|
24 |
ENABLE_CPU_OFFLOAD = os.getenv("ENABLE_CPU_OFFLOAD", "0") == "1"
|
25 |
|
26 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|