Update my_model/utilities/ui_manager.py
Browse files
my_model/utilities/ui_manager.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
-
import pandas as pd
|
2 |
import streamlit as st
|
|
|
|
|
3 |
from my_model.tabs.run_inference import InferenceRunner
|
4 |
from my_model.tabs.finetuning_evaluation import KBVQAEvaluator
|
5 |
from my_model.state_manager import StateManager
|
@@ -68,8 +69,10 @@ class UIManager():
|
|
68 |
\n\n\nDeveloped by: [Mohammed H AlHaj](https://www.linkedin.com/in/m7mdal7aj)""")
|
69 |
with col2:
|
70 |
# Display the HTML content in Streamlit
|
71 |
-
st.markdown(model_arch_html, unsafe_allow_html=True)
|
72 |
#st.image("Files/Model Arch.png")
|
|
|
|
|
73 |
|
74 |
with col3:
|
75 |
st.image("Files/mm.jpeg")
|
|
|
|
|
1 |
import streamlit as st
|
2 |
+
import streamlit.components.v1 as components
|
3 |
+
import pandas as pd
|
4 |
from my_model.tabs.run_inference import InferenceRunner
|
5 |
from my_model.tabs.finetuning_evaluation import KBVQAEvaluator
|
6 |
from my_model.state_manager import StateManager
|
|
|
69 |
\n\n\nDeveloped by: [Mohammed H AlHaj](https://www.linkedin.com/in/m7mdal7aj)""")
|
70 |
with col2:
|
71 |
# Display the HTML content in Streamlit
|
72 |
+
#st.markdown(model_arch_html, unsafe_allow_html=True)
|
73 |
#st.image("Files/Model Arch.png")
|
74 |
+
# Display the HTML content in Streamlit
|
75 |
+
components.html(model_arch_html, height=800)
|
76 |
|
77 |
with col3:
|
78 |
st.image("Files/mm.jpeg")
|