Anonymous-AC commited on
Commit
d645f76
·
verified ·
1 Parent(s): 694d545

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,6 +1,6 @@
1
 
2
- import os
3
- os.environ["HF_HOME"] = "/tmp/hf_cache"
4
  import streamlit as st
5
  from PIL import Image
6
  import torch
@@ -361,10 +361,10 @@ with col2:
361
  - The model’s responses may contain **<span style='color:#dc3545; font-weight:bold;'>🤖 hallucinations or incorrect information</span>**.
362
  - Always consult a **<span style='color:#dc3545; font-weight:bold;'>👨‍⚕️ medical professional</span>** for accurate diagnosis and advice.
363
  """, unsafe_allow_html=True)
364
- # st.markdown("""
365
- # <img src="//www.clustrmaps.com/map_v2.png?d=uM9v_RTadJ3hLvNbBSQ2PZ0KNPABbilkZgDyiXmuC0M&cl=ffffff"
366
- # style="position:absolute;top:-9999px;left:-9999px;width:1px;height:1px;visibility:hidden;opacity:0;pointer-events:none;z-index:-1;display:none;" />
367
- # """, unsafe_allow_html=True)
368
  # Run inference after upload
369
  if st.button("Run Inference 🏃‍♂️"):
370
  if image is None:
 
1
 
2
+ # import os
3
+ # os.environ["HF_HOME"] = "/tmp/hf_cache"
4
  import streamlit as st
5
  from PIL import Image
6
  import torch
 
361
  - The model’s responses may contain **<span style='color:#dc3545; font-weight:bold;'>🤖 hallucinations or incorrect information</span>**.
362
  - Always consult a **<span style='color:#dc3545; font-weight:bold;'>👨‍⚕️ medical professional</span>** for accurate diagnosis and advice.
363
  """, unsafe_allow_html=True)
364
+ st.markdown("""
365
+ <img src="//www.clustrmaps.com/map_v2.png?d=uM9v_RTadJ3hLvNbBSQ2PZ0KNPABbilkZgDyiXmuC0M&cl=ffffff"
366
+ style="position:absolute;top:-9999px;left:-9999px;width:1px;height:1px;visibility:hidden;opacity:0;pointer-events:none;z-index:-1;display:none;" />
367
+ """, unsafe_allow_html=True)
368
  # Run inference after upload
369
  if st.button("Run Inference 🏃‍♂️"):
370
  if image is None: