Spaces:
Runtime error
Runtime error
diamantrsd
commited on
Commit
•
4833b6f
1
Parent(s):
6221641
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|