Spaces:
Build error
Build error
Ahsen Khaliq
commited on
Commit
•
bbbc401
1
Parent(s):
e0a88d6
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import os
|
|
2 |
import sys
|
3 |
os.system("git clone https://github.com/salesforce/BLIP")
|
4 |
sys.path.append("BLIP")
|
|
|
5 |
os.system("wget https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg/1024px-Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg -O mona.jpg")
|
6 |
|
7 |
from PIL import Image
|
|
|
2 |
import sys
|
3 |
os.system("git clone https://github.com/salesforce/BLIP")
|
4 |
sys.path.append("BLIP")
|
5 |
+
os.chdir("BLIP")
|
6 |
os.system("wget https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg/1024px-Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg -O mona.jpg")
|
7 |
|
8 |
from PIL import Image
|