Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,14 +22,12 @@ st.set_page_config(page_title="Skin Cancer Dashboard", layout="wide")
|
|
22 |
|
23 |
# --- Configuration ---
|
24 |
# Ensure you have set your Hugging Face token as an environment variable:
|
25 |
-
|
26 |
MODEL_NAME = "Anwarkh1/Skin_Cancer-Image_Classification"
|
27 |
LLM_NAME = "google/flan-t5-xl"
|
28 |
-
HF_TOKEN = ".."
|
29 |
DATA_DIR = "data/harvard_dataset" # Path where you download and unpack the Harvard Dataverse dataset
|
30 |
DIARY_CSV = "diary.csv"
|
31 |
-
CANCER_DIR = r"D:\Models\googleflan-t5-xl"
|
32 |
-
LLM_DIR = r"D:\Models\SkinCancer"
|
33 |
|
34 |
# Initialize session state defaults
|
35 |
if 'initialized' not in st.session_state:
|
|
|
22 |
|
23 |
# --- Configuration ---
|
24 |
# Ensure you have set your Hugging Face token as an environment variable:
|
25 |
+
export HF_TOKEN="YOUR_TOKEN_HERE"
|
26 |
MODEL_NAME = "Anwarkh1/Skin_Cancer-Image_Classification"
|
27 |
LLM_NAME = "google/flan-t5-xl"
|
28 |
+
#HF_TOKEN = ".."
|
29 |
DATA_DIR = "data/harvard_dataset" # Path where you download and unpack the Harvard Dataverse dataset
|
30 |
DIARY_CSV = "diary.csv"
|
|
|
|
|
31 |
|
32 |
# Initialize session state defaults
|
33 |
if 'initialized' not in st.session_state:
|