Kaushik Bar
commited on
Commit
·
df36680
1
Parent(s):
72681cf
added space before hypothesis template
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ def sequence_to_classify(text, labels, hypothesis_template):
|
|
92 |
else:
|
93 |
model = model_multi
|
94 |
|
95 |
-
hypothesis_template += "{}"
|
96 |
labels = [hypothesis_template.format(label) for label in labels.split(";;")]
|
97 |
|
98 |
if str(type(model)) == "<class 'clip.model.CLIP'>":
|
|
|
92 |
else:
|
93 |
model = model_multi
|
94 |
|
95 |
+
hypothesis_template += " {}"
|
96 |
labels = [hypothesis_template.format(label) for label in labels.split(";;")]
|
97 |
|
98 |
if str(type(model)) == "<class 'clip.model.CLIP'>":
|