Dan Flower commited on
Commit
9344a7a
Β·
1 Parent(s): 9fe03de

remove troubleshooting markers

Browse files
Files changed (1) hide show
  1. streamlit_app.py +2 -2
streamlit_app.py CHANGED
@@ -48,7 +48,7 @@ except subprocess.CalledProcessError as e:
48
  st.stop()
49
 
50
  #end of temp code'''
51
- if not os.path.exists(MODEL_PATH):
52
  st.warning("Model not found. Downloading...")
53
  try:
54
  subprocess.run(["python3", "model/download_model.py"], check=True, capture_output=True)
@@ -62,7 +62,7 @@ if not os.path.exists(MODEL_PATH):
62
 
63
  #st.markdown("## πŸ“ /tmp/models content:")
64
  #st.text('\n'.join(os.listdir("/tmp/models")))
65
-
66
  # Add local subdirectories to Python path
67
  sys.path.append(os.path.join(os.path.dirname(__file__), "modules"))
68
  sys.path.append(os.path.join(os.path.dirname(__file__), "model"))
 
48
  st.stop()
49
 
50
  #end of temp code'''
51
+ '''if not os.path.exists(MODEL_PATH):
52
  st.warning("Model not found. Downloading...")
53
  try:
54
  subprocess.run(["python3", "model/download_model.py"], check=True, capture_output=True)
 
62
 
63
  #st.markdown("## πŸ“ /tmp/models content:")
64
  #st.text('\n'.join(os.listdir("/tmp/models")))
65
+ '''
66
  # Add local subdirectories to Python path
67
  sys.path.append(os.path.join(os.path.dirname(__file__), "modules"))
68
  sys.path.append(os.path.join(os.path.dirname(__file__), "model"))