Spaces:
Runtime error
Runtime error
Commit
·
53624ac
1
Parent(s):
cfae702
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from PIL import Image
|
|
3 |
|
4 |
import gradio as gr
|
5 |
|
6 |
-
model, _, transform = open_clip.
|
7 |
model_name="coca_ViT-L-14",
|
8 |
pretrained="laion2B-s13B-b90k"
|
9 |
)
|
|
|
3 |
|
4 |
import gradio as gr
|
5 |
|
6 |
+
model, _, transform = open_clip.create_model_and_transforms(
|
7 |
model_name="coca_ViT-L-14",
|
8 |
pretrained="laion2B-s13B-b90k"
|
9 |
)
|