r3gm commited on
Commit
46a5927
·
verified ·
1 Parent(s): 02c9a87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -301,12 +301,12 @@ with gr.Blocks(css=CUSTOM_CSS, title="Video Upscaler") as demo:
301
  )
302
  num_workers = gr.Number(
303
  label="Workers",
304
- value=(32 if IS_ZERO_GPU else 8),
305
  precision=0,
306
  minimum=2,
307
  maximum=64,
308
  info="Number of worker threads for multi-threaded upscaling. Higher values may speed up processing but use more VRAM.",
309
- # interactive=(not IS_ZERO_GPU),
310
  )
311
 
312
  upscale_button = gr.Button("Upscale Video", variant="primary")
 
301
  )
302
  num_workers = gr.Number(
303
  label="Workers",
304
+ value=(42 if IS_ZERO_GPU else 8),
305
  precision=0,
306
  minimum=2,
307
  maximum=64,
308
  info="Number of worker threads for multi-threaded upscaling. Higher values may speed up processing but use more VRAM.",
309
+ interactive=(not IS_ZERO_GPU),
310
  )
311
 
312
  upscale_button = gr.Button("Upscale Video", variant="primary")