user-agent
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
from transformers import pipeline
|
4 |
import numpy as np
|
5 |
from PIL import Image
|
6 |
-
|
7 |
|
8 |
pipe = pipeline("zero-shot-image-classification", model="openai/clip-vit-base-patch32")
|
9 |
images="dog.jpg"
|
|
|
3 |
from transformers import pipeline
|
4 |
import numpy as np
|
5 |
from PIL import Image
|
6 |
+
import spaces
|
7 |
|
8 |
pipe = pipeline("zero-shot-image-classification", model="openai/clip-vit-base-patch32")
|
9 |
images="dog.jpg"
|