Spaces:
Build error
Build error
CB commited on
Update streamlit_app.py
Browse files- streamlit_app.py +2 -2
streamlit_app.py
CHANGED
|
@@ -451,8 +451,8 @@ if generate_now and not st.session_state.get("busy"):
|
|
| 451 |
rag_store_name = "your_rag_store_name" # Set your ragStoreName here
|
| 452 |
|
| 453 |
# Configure the context for using RAG
|
| 454 |
-
|
| 455 |
-
|
| 456 |
|
| 457 |
with st.spinner(f"Uploading video{' (compressed)' if compressed else ''}..."):
|
| 458 |
try:
|
|
|
|
| 451 |
rag_store_name = "your_rag_store_name" # Set your ragStoreName here
|
| 452 |
|
| 453 |
# Configure the context for using RAG
|
| 454 |
+
try:
|
| 455 |
+
genai.configure_rag_context({'ragStoreName': rag_store_name}) # Hypothetical function
|
| 456 |
|
| 457 |
with st.spinner(f"Uploading video{' (compressed)' if compressed else ''}..."):
|
| 458 |
try:
|