Spaces:
totolook
/
Runtime error

KBaba7 commited on
Commit
dddbac6
·
verified ·
1 Parent(s): cb73a75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -3,6 +3,8 @@ import subprocess
3
  import streamlit as st
4
  from huggingface_hub import snapshot_download, login
5
 
 
 
6
  if "quantized_model_path" not in st.session_state:
7
  st.session_state.quantized_model_path = None
8
  if "upload_to_hf" not in st.session_state:
 
3
  import streamlit as st
4
  from huggingface_hub import snapshot_download, login
5
 
6
+ os.environ["HF_HOME"] = "/tmp/.cache/huggingface"
7
+
8
  if "quantized_model_path" not in st.session_state:
9
  st.session_state.quantized_model_path = None
10
  if "upload_to_hf" not in st.session_state: