Spaces:
Running
Running
NotShrirang
commited on
Commit
·
ce1d78a
1
Parent(s):
3bdb8be
fix: images directory not being created bug
Browse files
app.py
CHANGED
@@ -22,6 +22,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
22 |
clip_model, preprocess = load_clip_model()
|
23 |
text_embedding_model = load_text_embedding_model()
|
24 |
os.makedirs("annotations/", exist_ok=True)
|
|
|
25 |
|
26 |
with st.sidebar:
|
27 |
st.title("LoomRAG")
|
|
|
22 |
clip_model, preprocess = load_clip_model()
|
23 |
text_embedding_model = load_text_embedding_model()
|
24 |
os.makedirs("annotations/", exist_ok=True)
|
25 |
+
os.makedirs("images/", exist_ok=True)
|
26 |
|
27 |
with st.sidebar:
|
28 |
st.title("LoomRAG")
|