Spaces:
Running
Running
NotShrirang
commited on
Commit
·
3bdb8be
1
Parent(s):
19a6fbb
fix: annotations directory not being created bug
Browse files
app.py
CHANGED
@@ -21,8 +21,7 @@ st.set_page_config(layout="wide", page_title="LoomRAG", page_icon="🔍")
|
|
21 |
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 |
-
|
25 |
-
sidebar = st.sidebar
|
26 |
|
27 |
with st.sidebar:
|
28 |
st.title("LoomRAG")
|
|
|
21 |
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")
|