Spaces:
Running
on
Zero
Running
on
Zero
ai-forever
commited on
Commit
•
e44b262
1
Parent(s):
569025f
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import spaces
|
3 |
#import gradio.helpers
|
|
|
1 |
+
import subprocess
|
2 |
+
subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
3 |
+
|
4 |
import gradio as gr
|
5 |
import spaces
|
6 |
#import gradio.helpers
|