Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -59,21 +59,21 @@ with tab1:
|
|
59 |
|
60 |
# banner and header
|
61 |
st.image(Titlelogo)
|
62 |
-
st.image(Image.open('data/O=CNc1ccccc1.png'))
|
63 |
#st.link_button("**:gray[@IN SILICO] :violet[CHEMISTRY]**", "https://www.insilicochemistry.io")
|
64 |
#st.link_button(":rainbow[@mohamed elsoudy]", "mailto:[email protected]")
|
65 |
# st.markdown('#') #insert space
|
66 |
|
67 |
# show gif
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
|
78 |
#st.divider()
|
79 |
|
|
|
59 |
|
60 |
# banner and header
|
61 |
st.image(Titlelogo)
|
62 |
+
#st.image(Image.open('data/O=CNc1ccccc1.png'))
|
63 |
#st.link_button("**:gray[@IN SILICO] :violet[CHEMISTRY]**", "https://www.insilicochemistry.io")
|
64 |
#st.link_button(":rainbow[@mohamed elsoudy]", "mailto:[email protected]")
|
65 |
# st.markdown('#') #insert space
|
66 |
|
67 |
# show gif
|
68 |
+
file_ = open("data/O=CNc1ccccc1.png", "rb")
|
69 |
+
contents = file_.read()
|
70 |
+
data_url = base64.b64encode(contents).decode("utf-8")
|
71 |
+
file_.close()
|
72 |
+
|
73 |
+
st.markdown(
|
74 |
+
f'<center><img src="data:image/gif;base64,{data_url}" class="centerImage" alt="cat gif"></center>',
|
75 |
+
unsafe_allow_html=True,
|
76 |
+
)
|
77 |
|
78 |
#st.divider()
|
79 |
|