Skip to content

Commit 31de9c7

Browse files
author
MacKenzie Mathis
committed
minor fix for img path
1 parent e97720a commit 31de9c7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

amadeusgpt/app_utils.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,8 @@ def render_page_by_example(example):
680680
"- Here are some example queries you might consider: 'The <|open arm|> is the ROI0. How much time does the mouse spend in the open arm?' (NOTE here you can re-draw an ROI0 if you want. Be sure to click 'finish drawing') | 'Define head_dips as a behavior where the mouse's mouse_center and neck are in ROI0 which is open arm while head_midpoint is outside ROI1 which is the cross-shape area. When does head_dips happen and what is the number of bouts for head_dips?' "
681681
)
682682
st.markdown("- ⬇️🎥 Watch this short clip on how to draw the ROI(s)🤗")
683-
st.video("static/customEPMprompt_short.mp4")
683+
684+
st.video(os.path.join(current_script_directory,'static/customEPMprompt_short.mp4'))
684685

685686
if example == "MABe":
686687
st.markdown(
@@ -792,7 +793,9 @@ def render_page_by_example(example):
792793
if example == "EPM" or example == "MausHaus":
793794
# will read the keypoints from h5 file to avoid hard coding
794795
with st.sidebar:
795-
st.image("static/images/supertopview.png")
796+
topviewimage = os.path.join(current_script_directory,'static/images/supertopview.png')
797+
st.image(topviewimage)
798+
#st.image("static/images/supertopview.png")
796799
with st.sidebar:
797800
st.write("Keypoints:")
798801
st.write(AnimalBehaviorAnalysis.get_bodypart_names())

0 commit comments

Comments
 (0)