aka7774 commited on
Commit
41abf69
·
verified ·
1 Parent(s): 8f43681

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  import fn
2
  import gradio as gr
3
 
 
1
+ import subprocess
2
+ subprocess.run('pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121', shell=True)
3
+ subprocess.run('pip install flash-attn --no-build-isolation', shell=True)
4
+ subprocess.run('pip install "unsloth[cu121-ampere-torch230] @ git+https://github.com/unslothai/unsloth.git"', shell=True)
5
+
6
  import fn
7
  import gradio as gr
8