Commit
·
eb4277b
1
Parent(s):
ae519a4
add deps
Browse files- app.py +0 -3
- requirements.txt +6 -1
app.py
CHANGED
@@ -1,6 +1,3 @@
|
|
1 |
-
import os
|
2 |
-
os.environ["CUDA_VISIBLE_DEVICES"] = "0"
|
3 |
-
|
4 |
import gradio as gr
|
5 |
from huggingface_hub import InferenceClient
|
6 |
from torch.cuda import is_available
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
from torch.cuda import is_available
|
requirements.txt
CHANGED
@@ -1 +1,6 @@
|
|
1 |
-
huggingface_hub==0.25.2
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
huggingface_hub==0.25.2
|
2 |
+
unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git
|
3 |
+
trl
|
4 |
+
peft
|
5 |
+
accelerate
|
6 |
+
bitsandbytes
|