Daemontatox commited on
Commit
7b9de38
·
verified ·
1 Parent(s): 165edc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -1,3 +1,11 @@
 
 
 
 
 
 
 
 
1
  from transformers import AutoTokenizer, TextStreamer
2
  from PIL import Image
3
  import torch
 
1
+
2
+ import subprocess
3
+
4
+ subprocess.run(
5
+ 'pip install --force-reinstall --no-cache-dir --no-deps git+https://github.com/unslothai/unsloth.git ',
6
+ shell=True
7
+ )
8
+
9
  from transformers import AutoTokenizer, TextStreamer
10
  from PIL import Image
11
  import torch