Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,15 +20,24 @@ def predict():
|
|
20 |
st.write(c)
|
21 |
|
22 |
st.title('Image Captioner')
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
-
if (img_url != "") and (img_url != None):
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
|
33 |
hide_streamlit_style = """
|
34 |
<style>
|
|
|
20 |
st.write(c)
|
21 |
|
22 |
st.title('Image Captioner')
|
23 |
+
st.markdown('##What we can do?')
|
24 |
+
st.write('-Detect Brain tumors')
|
25 |
+
st.write('-Detect Pnuemonia')
|
26 |
+
st.write('-Detect Bone Fractures')
|
27 |
+
st.write('-Detect Skin infections')
|
28 |
+
st.write('-Detect Kidney Stones')
|
29 |
+
st.write('-Detect Eye infections')
|
30 |
+
st.write('')
|
31 |
+
st.write('(Note:The results may not be correct always its better to have a second opnion)')
|
32 |
+
# img_url = st.text_input(label='Enter Image URL')
|
33 |
|
34 |
+
# if (img_url != "") and (img_url != None):
|
35 |
+
# img = Image.open(requests.get(img_url, stream=True).raw)
|
36 |
+
# img = img.convert('RGB')
|
37 |
+
# st.image(img)
|
38 |
+
# img.save('tmp.jpg')
|
39 |
+
# predict()
|
40 |
+
# os.remove('tmp.jpg')
|
41 |
|
42 |
hide_streamlit_style = """
|
43 |
<style>
|