Spaces:
Sleeping
Sleeping
Commit
·
b0e6d0b
1
Parent(s):
7715a6c
Update app.py
Browse files
app.py
CHANGED
@@ -87,5 +87,5 @@ with gr.Blocks() as demo:
|
|
87 |
title = "Zero Shot Image Classification"
|
88 |
description = "<p style= 'color:white'>Use clip models embedding to identify the closest class it belongs form its pretrianed data from the given list</p>"
|
89 |
examples=[['Assets/dog.jpg', 'dog,cat,man'],['Assets/cat.jpg','dog,cat,man']]
|
90 |
-
gr.Interface(fn=zero_shot_classification,inputs=[i1,i2],outputs="label",title=title,description="Zero Shot Image classification..")
|
91 |
demo.launch(debug = False)
|
|
|
87 |
title = "Zero Shot Image Classification"
|
88 |
description = "<p style= 'color:white'>Use clip models embedding to identify the closest class it belongs form its pretrianed data from the given list</p>"
|
89 |
examples=[['Assets/dog.jpg', 'dog,cat,man'],['Assets/cat.jpg','dog,cat,man']]
|
90 |
+
gr.Interface(fn=zero_shot_classification,inputs=[i1,i2],outputs="label",title=title,description="Zero Shot Image classification..",examples = examples)
|
91 |
demo.launch(debug = False)
|