Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ minilm = SentenceTransformer('all-MiniLM-L6-v2')
|
|
19 |
mubert_tags_embeddings = get_mubert_tags_embeddings(minilm)
|
20 |
|
21 |
# image_to_text = gr.Interface.load("spaces/doevent/image_to_text", api_key=os.environ['HF_TOKEN'])
|
22 |
-
image_to_text = gr.Blocks.load(name="spaces/
|
23 |
def center_crop(img, dim: tuple = (512, 512)):
|
24 |
|
25 |
"""Returns center cropped image
|
|
|
19 |
mubert_tags_embeddings = get_mubert_tags_embeddings(minilm)
|
20 |
|
21 |
# image_to_text = gr.Interface.load("spaces/doevent/image_to_text", api_key=os.environ['HF_TOKEN'])
|
22 |
+
image_to_text = gr.Blocks.load(name="spaces/banana-dev/demo-clip-interrogator")
|
23 |
def center_crop(img, dim: tuple = (512, 512)):
|
24 |
|
25 |
"""Returns center cropped image
|