khang119966 commited on
Commit
ec015fc
·
verified ·
1 Parent(s): 7c3ae67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -41,11 +41,14 @@ subprocess.run('wget https://dl.google.com/linux/direct/google-chrome-stable_cur
41
 
42
  subprocess.run('dpkg -i google-chrome-stable_current_amd64.deb', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
43
 
 
 
44
  subprocess.run('apt-get install wkhtmltopdf', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
45
 
46
  subprocess.run('apt-get install xvfb', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
47
 
48
 
 
49
  import imgkit
50
 
51
  imgkit.from_string("""
 
41
 
42
  subprocess.run('dpkg -i google-chrome-stable_current_amd64.deb', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
43
 
44
+ subprocess.run('apt-get update', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
45
+
46
  subprocess.run('apt-get install wkhtmltopdf', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
47
 
48
  subprocess.run('apt-get install xvfb', env={'FLASH_ATTENTION_SKIP_CUDA_BUILD': "TRUE"}, shell=True)
49
 
50
 
51
+
52
  import imgkit
53
 
54
  imgkit.from_string("""