Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
The-Ultimate-RAG-HF
/
test
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
test
/
app
/
document_validator.py
Andrchest
final try 1
e53c2d7
10 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
138 Bytes
import
os
'''
Checks if the given path is valid and file exists
'''
def
path_is_valid
(
path:
str
) ->
bool
:
return
os.path.exists(path)