Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|