mrfakename commited on
Commit
f80801d
1 Parent(s): 92a908f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,7 +17,7 @@ elif torch.cuda.is_available():
17
  device = 'cuda'
18
  cc = 10
19
  else:
20
- device = 'auto'
21
 
22
  vbsrgan = VideoSR('BSRGAN').to(device)
23
  vresrgan = VideoSR('RealESRGAN').to(device)
@@ -81,7 +81,7 @@ with gr.Blocks(css=css) as demo:
81
  # Upscale
82
  ## A CVSYS Project
83
 
84
- ### NOTICE: This is running on a free Hugging Face Space. That means that it will be VERY slow. Expect it to take HOURS to upscale 5 minutes. Sorry, but that's what 4 vCPUs and 16 GB RAM brings :(
85
 
86
  Please note that after you upload an image, it may take several minutes before the progress bar appears. This is because we first convert your video to ensure the correct format.
87
  ''')
 
17
  device = 'cuda'
18
  cc = 10
19
  else:
20
+ device = 'cpu'
21
 
22
  vbsrgan = VideoSR('BSRGAN').to(device)
23
  vresrgan = VideoSR('RealESRGAN').to(device)
 
81
  # Upscale
82
  ## A CVSYS Project
83
 
84
+ ### NOTICE: This is running on a free Hugging Face Space. That means that it will be VERY slow. Expect it to take HOURS to upscale 5 minutes. Sorry, but that's what 4 vCPUs and 16 GB RAM brings :( - PLEASE be mindful and DO NOT upscale videos longer than 15 seconds!!
85
 
86
  Please note that after you upload an image, it may take several minutes before the progress bar appears. This is because we first convert your video to ensure the correct format.
87
  ''')