Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,10 @@ import os
|
|
| 19 |
os.system("wget -q https://huggingface.co/FoundationVision/unitok_tokenizer/resolve/main/unitok_tokenizer.pth")
|
| 20 |
PILtransform = transforms.ToPILImage()
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
IMAGE_TOKEN_INDEX=-200
|
| 24 |
PLACEHOLDER = """
|
|
|
|
| 19 |
os.system("wget -q https://huggingface.co/FoundationVision/unitok_tokenizer/resolve/main/unitok_tokenizer.pth")
|
| 20 |
PILtransform = transforms.ToPILImage()
|
| 21 |
|
| 22 |
+
os.system("pip uninstall -y gradio")
|
| 23 |
+
os.system("pip install gradio==4.44.1")
|
| 24 |
+
os.system("pip install gradio_client==1.3.0")
|
| 25 |
+
|
| 26 |
|
| 27 |
IMAGE_TOKEN_INDEX=-200
|
| 28 |
PLACEHOLDER = """
|