Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,8 @@ from transformers import CLIPProcessor, CLIPModel
|
|
| 11 |
from paddleocr import PaddleOCR
|
| 12 |
from functools import lru_cache
|
| 13 |
|
|
|
|
|
|
|
| 14 |
# Setup
|
| 15 |
clip_model = CLIPModel.from_pretrained("openai/clip-vit-large-patch14")
|
| 16 |
clip_processor = CLIPProcessor.from_pretrained("openai/clip-vit-large-patch14")
|
|
|
|
| 11 |
from paddleocr import PaddleOCR
|
| 12 |
from functools import lru_cache
|
| 13 |
|
| 14 |
+
|
| 15 |
+
MODEL_HUB_ID = "imperiusrex/printedpaddle"
|
| 16 |
# Setup
|
| 17 |
clip_model = CLIPModel.from_pretrained("openai/clip-vit-large-patch14")
|
| 18 |
clip_processor = CLIPProcessor.from_pretrained("openai/clip-vit-large-patch14")
|