Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,6 @@ import subprocess
|
|
3 |
import streamlit as st
|
4 |
from huggingface_hub import snapshot_download, login
|
5 |
|
6 |
-
os.environ["HF_HOME"] = "/tmp/huggingface_cache"
|
7 |
-
os.makedirs(os.environ["HF_HOME"], exist_ok=True)
|
8 |
-
|
9 |
if "quantized_model_path" not in st.session_state:
|
10 |
st.session_state.quantized_model_path = None
|
11 |
if "upload_to_hf" not in st.session_state:
|
|
|
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:
|