Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from streamlit_player import st_player
|
3 |
+
|
4 |
+
# Set the title and description
|
5 |
+
st.title('Zero Shot Classification Multimodal Agentic AI')
|
6 |
+
st.write('Enhanced Goal Oriented Autonomy')
|
7 |
+
st.write('Additional Multimodal Agentic AI Layer of User interaction deriving from a non-organic algorithm.')
|
8 |
+
st.write('Implements Natural Language Stopping (LLM Output)')
|
9 |
+
st.write('Responses are deriving from mlx-community/Qwen2.5-7B-4bit LLM')
|
10 |
+
|
11 |
+
# Display images and play videos in the specified order
|
12 |
+
video_file = open('output.mp4', 'rb')
|
13 |
+
video_bytes = video_file.read()
|
14 |
+
st.video(video_bytes)
|
15 |
+
|
16 |
+
video_file = open('classification_output.mp4', 'rb')
|
17 |
+
video_bytes = video_file.read()
|
18 |
+
st.video(video_bytes)
|
19 |
+
|
20 |
+
video_file = open('follow_up_output.mp4', 'rb')
|
21 |
+
video_bytes = video_file.read()
|
22 |
+
st.video(video_bytes)
|
23 |
+
|
24 |
+
video_file = open('response_output.mp4', 'rb')
|
25 |
+
video_bytes = video_file.read()
|
26 |
+
st.video(video_bytes)
|
27 |
+
|
28 |
+
video_file = open('output_2.mp4', 'rb')
|
29 |
+
video_bytes = video_file.read()
|
30 |
+
st.video(video_bytes)
|
31 |
+
|
32 |
+
video_file = open('classification_output_2.mp4', 'rb')
|
33 |
+
video_bytes = video_file.read()
|
34 |
+
st.video(video_bytes)
|
35 |
+
|
36 |
+
video_file = open('follow_up_output_2.mp4', 'rb')
|
37 |
+
video_bytes = video_file.read()
|
38 |
+
st.video(video_bytes)
|
39 |
+
|
40 |
+
video_file = open('response_output_2.mp4', 'rb')
|
41 |
+
video_bytes = video_file.read()
|
42 |
+
st.video(video_bytes)
|