Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
adi9128
/
vdoc_rag
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
vdoc_rag
/
app
/
utils.py
aditya9128
Initial commit: VDoc-RAG - Intelligent Document Q&A with RAG
4e3cee0
27 days ago
raw
Copy download link
history
blame
contribute
delete
Safe
122 Bytes
def
bbox_to_dict
(
bbox
):
x0, y0, x1, y1 = bbox
return
{
'x0'
:
int
(x0),
'y0'
:
int
(y0),
'x1'
:
int
(x1),
'y1'
:
int
(y1)}