prithivMLmods commited on
Commit
8d88e9c
·
verified ·
1 Parent(s): e0cc44e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -23,11 +23,6 @@ from transformers import (
23
  TextIteratorStreamer,
24
  )
25
 
26
- from transformers.image_utils import load_image
27
-
28
- import subprocess
29
- subprocess.run('pip install flash-attn==2.6.3 --no-build-isolation', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
30
-
31
  # Constants for text generation
32
  MAX_MAX_NEW_TOKENS = 2048
33
  DEFAULT_MAX_NEW_TOKENS = 1024
 
23
  TextIteratorStreamer,
24
  )
25
 
 
 
 
 
 
26
  # Constants for text generation
27
  MAX_MAX_NEW_TOKENS = 2048
28
  DEFAULT_MAX_NEW_TOKENS = 1024