Spaces:
Sleeping
Sleeping
Update utils/basic_functions.py
Browse files- utils/basic_functions.py +1 -1
utils/basic_functions.py
CHANGED
|
@@ -116,7 +116,7 @@ def huggingface_detect_id_box(model_name,url):
|
|
| 116 |
"""
|
| 117 |
|
| 118 |
output = model.generate(**inputs,max_new_tokens=200,do_sample=False)
|
| 119 |
-
bbox = processor.decode(output[0][2:],skip_special_tokens=True)
|
| 120 |
print(bbox)
|
| 121 |
|
| 122 |
|
|
|
|
| 116 |
"""
|
| 117 |
|
| 118 |
output = model.generate(**inputs,max_new_tokens=200,do_sample=False)
|
| 119 |
+
bbox = processor.decode(output[0][2:],skip_special_tokens=True)
|
| 120 |
print(bbox)
|
| 121 |
|
| 122 |
|