pablovela5620 commited on
Commit
fe75507
·
verified ·
1 Parent(s): 5648431

Upload gradio_app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. gradio_app.py +2 -2
gradio_app.py CHANGED
@@ -92,8 +92,8 @@ def svd_render_threaded(
92
  decode_chunk_size=8,
93
  num_inference_steps=num_denoise_iters,
94
  ).frames[0]
95
-
96
- log_queue.put(frames)
97
 
98
 
99
  if IN_SPACES:
 
92
  decode_chunk_size=8,
93
  num_inference_steps=num_denoise_iters,
94
  ).frames[0]
95
+ if log_queue is not None:
96
+ log_queue.put(frames)
97
 
98
 
99
  if IN_SPACES: