Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ from transformers import CLIPProcessor, CLIPModel
|
|
| 2 |
import numpy as np
|
| 3 |
from typing import Union
|
| 4 |
import PIL
|
|
|
|
| 5 |
|
| 6 |
class ZeroShotCLF():
|
| 7 |
def __init__(self, model_id = "openai/clip-vit-base-patch32"):
|
|
|
|
| 2 |
import numpy as np
|
| 3 |
from typing import Union
|
| 4 |
import PIL
|
| 5 |
+
import gradio as gr
|
| 6 |
|
| 7 |
class ZeroShotCLF():
|
| 8 |
def __init__(self, model_id = "openai/clip-vit-base-patch32"):
|