Spaces:
Runtime error
Runtime error
commit
Browse files- app.py +1 -1
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from pathlib import Path
|
|
| 5 |
from gradio.utils import get_cache_folder
|
| 6 |
|
| 7 |
import torch
|
| 8 |
-
|
| 9 |
from PIL import Image
|
| 10 |
|
| 11 |
class Examples(gr.helpers.Examples):
|
|
|
|
| 5 |
from gradio.utils import get_cache_folder
|
| 6 |
|
| 7 |
import torch
|
| 8 |
+
import torchvision.transforms as transforms
|
| 9 |
from PIL import Image
|
| 10 |
|
| 11 |
class Examples(gr.helpers.Examples):
|
requirements.txt
CHANGED
|
@@ -4,4 +4,5 @@ invisible_watermark
|
|
| 4 |
torch
|
| 5 |
transformers
|
| 6 |
xformers
|
| 7 |
-
sentencepiece
|
|
|
|
|
|
| 4 |
torch
|
| 5 |
transformers
|
| 6 |
xformers
|
| 7 |
+
sentencepiece
|
| 8 |
+
torchvision
|