Spaces:
Paused
Paused
small tweaks
Browse files
app.py
CHANGED
|
@@ -59,13 +59,7 @@ if st.button("List Collections"):
|
|
| 59 |
st.session_state["collections_list"] = collections_text
|
| 60 |
|
| 61 |
if st.session_state["collections_list"]:
|
| 62 |
-
st.
|
| 63 |
-
"Existing Collections:",
|
| 64 |
-
value=st.session_state["collections_list"],
|
| 65 |
-
height=200,
|
| 66 |
-
help="List of existing collections.",
|
| 67 |
-
key="collections_text_area",
|
| 68 |
-
)
|
| 69 |
|
| 70 |
# Upsert Documents Section
|
| 71 |
st.subheader("Upsert Documents")
|
|
@@ -146,8 +140,6 @@ if st.session_state["search_results"]:
|
|
| 146 |
cols[idx % 2].image(
|
| 147 |
img,
|
| 148 |
caption=f"Document: {document_name}, Page: {page_number}",
|
| 149 |
-
use_container_width=False,
|
| 150 |
-
width=300,
|
| 151 |
)
|
| 152 |
st.success("Search completed.")
|
| 153 |
|
|
|
|
| 59 |
st.session_state["collections_list"] = collections_text
|
| 60 |
|
| 61 |
if st.session_state["collections_list"]:
|
| 62 |
+
st.code(st.session_state["collections_list"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
# Upsert Documents Section
|
| 65 |
st.subheader("Upsert Documents")
|
|
|
|
| 140 |
cols[idx % 2].image(
|
| 141 |
img,
|
| 142 |
caption=f"Document: {document_name}, Page: {page_number}",
|
|
|
|
|
|
|
| 143 |
)
|
| 144 |
st.success("Search completed.")
|
| 145 |
|