Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
change file directories
Browse files
pages/Multimodal_Conversational_Search.py
CHANGED
@@ -33,9 +33,9 @@ st.set_page_config(
|
|
33 |
page_icon="images/opensearch_mark_default.png"
|
34 |
)
|
35 |
parent_dirname = "/".join((os.path.dirname(__file__)).split("/")[0:-1])
|
36 |
-
USER_ICON = "images/user.png"
|
37 |
-
AI_ICON = "images/opensearch-twitter-card.png"
|
38 |
-
REGENERATE_ICON = "images/regenerate.png"
|
39 |
s3_bucket_ = "pdf-repo-uploads"
|
40 |
|
41 |
# polly_client = boto3.Session(
|
|
|
33 |
page_icon="images/opensearch_mark_default.png"
|
34 |
)
|
35 |
parent_dirname = "/".join((os.path.dirname(__file__)).split("/")[0:-1])
|
36 |
+
USER_ICON = "/data/app_bkp/images/user.png"
|
37 |
+
AI_ICON = "/data/app_bkp/images/opensearch-twitter-card.png"
|
38 |
+
REGENERATE_ICON = "/data/app_bkp/images/regenerate.png"
|
39 |
s3_bucket_ = "pdf-repo-uploads"
|
40 |
|
41 |
# polly_client = boto3.Session(
|
pages/Semantic_Search.py
CHANGED
@@ -811,7 +811,7 @@ def render_answer(answer,index):
|
|
811 |
with col_1:
|
812 |
inner_col_1,inner_col_2 = st.columns([8,92])
|
813 |
with inner_col_2:
|
814 |
-
st.image(ans['image_url'].replace("/home/ec2-user/SageMaker/","/
|
815 |
|
816 |
if('max_score_dict_list_sorted' in ans and 'Vector Search' in st.session_state.input_searchType):
|
817 |
desc___ = ans['desc'].split(" ")
|
|
|
811 |
with col_1:
|
812 |
inner_col_1,inner_col_2 = st.columns([8,92])
|
813 |
with inner_col_2:
|
814 |
+
st.image(ans['image_url'].replace("/home/ec2-user/SageMaker/","/data/app_bkp/"))
|
815 |
|
816 |
if('max_score_dict_list_sorted' in ans and 'Vector Search' in st.session_state.input_searchType):
|
817 |
desc___ = ans['desc'].split(" ")
|