Spaces:
Sleeping
Sleeping
Deploy Docker-based Streamlit app
Browse files- streamlit_app.py +1 -1
streamlit_app.py
CHANGED
|
@@ -13,7 +13,7 @@ if "streamlit" not in " ".join(sys.argv).lower():
|
|
| 13 |
lg = logging.getLogger(name); lg.setLevel(logging.CRITICAL); lg.propagate=False; lg.disabled=True
|
| 14 |
|
| 15 |
HF_MODEL_REPO = os.getenv("HF_MODEL_REPO", "dhani10/engine-condition-model")
|
| 16 |
-
MODEL_FILE = os.getenv("MODEL_FILE", "
|
| 17 |
HF_TOKEN = os.getenv("HF_TOKEN") # add as Space Secret if model repo is private
|
| 18 |
|
| 19 |
HF_CACHE_ROOT = os.getenv("HF_HOME", "/tmp/huggingface")
|
|
|
|
| 13 |
lg = logging.getLogger(name); lg.setLevel(logging.CRITICAL); lg.propagate=False; lg.disabled=True
|
| 14 |
|
| 15 |
HF_MODEL_REPO = os.getenv("HF_MODEL_REPO", "dhani10/engine-condition-model")
|
| 16 |
+
MODEL_FILE = os.getenv("MODEL_FILE", "best_engine_model.joblib")
|
| 17 |
HF_TOKEN = os.getenv("HF_TOKEN") # add as Space Secret if model repo is private
|
| 18 |
|
| 19 |
HF_CACHE_ROOT = os.getenv("HF_HOME", "/tmp/huggingface")
|