Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,14 @@ def main():
|
|
69 |
)
|
70 |
|
71 |
# App main content
|
72 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
st.sidebar.title('About')
|
75 |
st.sidebar.info('''\
|
@@ -86,6 +93,7 @@ After 1.5 years of diligent effort, the AI Blood Test Interpretation tool is now
|
|
86 |
uploaded_file = st.file_uploader('Upload your blood test image or PDF', type=['jpg', 'jpeg', 'png', 'pdf'])
|
87 |
username = st.text_input('Username', value='demo')
|
88 |
password = st.text_input('Password', value='demo', type='password')
|
|
|
89 |
languages = [
|
90 |
'English', 'Spanish', 'French', 'German', 'Italian', 'Portuguese', 'Dutch',
|
91 |
'Japanese', 'Chinese', 'Korean', 'Russian', 'Arabic', 'Hindi', 'Bengali',
|
@@ -104,7 +112,8 @@ After 1.5 years of diligent effort, the AI Blood Test Interpretation tool is now
|
|
104 |
'Acehnese', 'Balinese', 'Batak', 'Buginese', 'Rejang', 'Sasak'
|
105 |
]
|
106 |
|
107 |
-
language = st.selectbox('Report Language', languages)
|
|
|
108 |
# Analyze button
|
109 |
if st.button('Analyze'):
|
110 |
if uploaded_file and username and password:
|
|
|
69 |
)
|
70 |
|
71 |
# App main content
|
72 |
+
st.markdown(
|
73 |
+
"""
|
74 |
+
<div style="text-align: center; margin-bottom: 40px;">
|
75 |
+
<img src="https://lh5.googleusercontent.com/acxDsEgG6qumlBmHKsNK1j8kxa4Z4Tsq1QBLBBydVKMGOyH3Qn1JU5AklbDis3SlVO_mY7KSVPnkzhul_5Zxr_023IU_UY0cxVG-VhY1nTj7A-ritWtDEAswMCo0jVMkdw=w2560" alt="AI Blood Test Interpretation Logo" width="300">
|
76 |
+
</div>
|
77 |
+
""",
|
78 |
+
unsafe_allow_html=True
|
79 |
+
)
|
80 |
|
81 |
st.sidebar.title('About')
|
82 |
st.sidebar.info('''\
|
|
|
93 |
uploaded_file = st.file_uploader('Upload your blood test image or PDF', type=['jpg', 'jpeg', 'png', 'pdf'])
|
94 |
username = st.text_input('Username', value='demo')
|
95 |
password = st.text_input('Password', value='demo', type='password')
|
96 |
+
|
97 |
languages = [
|
98 |
'English', 'Spanish', 'French', 'German', 'Italian', 'Portuguese', 'Dutch',
|
99 |
'Japanese', 'Chinese', 'Korean', 'Russian', 'Arabic', 'Hindi', 'Bengali',
|
|
|
112 |
'Acehnese', 'Balinese', 'Batak', 'Buginese', 'Rejang', 'Sasak'
|
113 |
]
|
114 |
|
115 |
+
language = st.selectbox('Report Language', languages)
|
116 |
+
|
117 |
# Analyze button
|
118 |
if st.button('Analyze'):
|
119 |
if uploaded_file and username and password:
|