Spaces:
Runtime error
Runtime error
Update models/tag2text.py
Browse files- models/tag2text.py +1 -2
models/tag2text.py
CHANGED
@@ -36,8 +36,7 @@ class Tag2Text_Caption(nn.Module):
|
|
36 |
vit_grad_ckpt = False,
|
37 |
vit_ckpt_layer = 0,
|
38 |
prompt = 'a picture of ',
|
39 |
-
|
40 |
-
threshold = 0.2,
|
41 |
):
|
42 |
"""
|
43 |
Args:
|
|
|
36 |
vit_grad_ckpt = False,
|
37 |
vit_ckpt_layer = 0,
|
38 |
prompt = 'a picture of ',
|
39 |
+
threshold = 0.7,
|
|
|
40 |
):
|
41 |
"""
|
42 |
Args:
|