jbilcke-hf HF staff commited on
Commit
b97329f
1 Parent(s): a5265d3

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -231,7 +231,7 @@ class EndpointHandler:
231
  video_uri, metadata = loop.run_until_complete(
232
  self.process_frames(frames, config)
233
  )
234
- except Exception as e:
235
  raise RuntimeError(f"Failed to convert the frames to a video, because {str(e)}")
236
  finally:
237
  loop.close()
 
231
  video_uri, metadata = loop.run_until_complete(
232
  self.process_frames(frames, config)
233
  )
234
+ except Exception as e:
235
  raise RuntimeError(f"Failed to convert the frames to a video, because {str(e)}")
236
  finally:
237
  loop.close()