chenjoya commited on
Commit
48d786d
·
verified ·
1 Parent(s): 0667a5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -60,6 +60,7 @@ with gr.Blocks() as demo:
60
  global infer
61
  yield '(initializing model, thanks for waiting...)', state
62
  if infer is None:
 
63
  infer = _init_infer()
64
  state['video_path'] = video_path
65
  yield '(finished initialization, responding...)', state
 
60
  global infer
61
  yield '(initializing model, thanks for waiting...)', state
62
  if infer is None:
63
+ os.system('pip install flash-attn --no-build-isolation')
64
  infer = _init_infer()
65
  state['video_path'] = video_path
66
  yield '(finished initialization, responding...)', state