Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ from io import BytesIO
|
|
15 |
|
16 |
from serve.conversation import (default_conversation, conv_templates, SeparatorStyle)
|
17 |
from serve.constants import LOGDIR
|
18 |
-
from serve.utils import (
|
19 |
import subprocess
|
20 |
|
21 |
subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|
|
|
15 |
|
16 |
from serve.conversation import (default_conversation, conv_templates, SeparatorStyle)
|
17 |
from serve.constants import LOGDIR
|
18 |
+
from serve.utils import (build_logger, server_error_msg, violates_moderation, moderation_msg)
|
19 |
import subprocess
|
20 |
|
21 |
subprocess.run('pip install flash-attn --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
|