Spaces:
Runtime error
Runtime error
samueldomdey
commited on
Commit
·
d9919e8
1
Parent(s):
b6fefc9
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def clip_sim_preds(url, text):
|
|
64 |
return "error"
|
65 |
|
66 |
|
67 |
-
article = "<p style='text-align: center'
|
68 |
# define app
|
69 |
# takes in url of an image and a corresponding text, computes and returns cosine similarity
|
70 |
gr.Interface(clip_sim_preds,
|
|
|
64 |
return "error"
|
65 |
|
66 |
|
67 |
+
article = "<p style='text-align: center'>In case the provided URL does not work, the same model can be used through image upload here instead: <a href='https://huggingface.co/spaces/samueldomdey/ClipCosineSimilarityUpload' target='_blank'>https://huggingface.co/spaces/samueldomdey/ClipCosineSimilarityUpload</a></p>"
|
68 |
# define app
|
69 |
# takes in url of an image and a corresponding text, computes and returns cosine similarity
|
70 |
gr.Interface(clip_sim_preds,
|