diamantrsd commited on
Commit
4833b6f
1 Parent(s): 6221641

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -1,4 +1,10 @@
1
- !pip install sentencepiece
 
 
 
 
 
 
2
 
3
 
4
  from PIL import Image
 
1
+ import subprocess
2
+
3
+ # Install the SentencePiece library using pip as a subprocess
4
+ subprocess.run(["pip", "install", "sentencepiece"])
5
+
6
+ # Continue with the rest of your code
7
+
8
 
9
 
10
  from PIL import Image