Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|