Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ from audio_recorder_streamlit import audio_recorder # Add at the top with other
|
|
12 |
# Define base and adapter model paths
|
13 |
BASE_MODEL = "stanford-crfm/BioMedLM" # or the path you used originally
|
14 |
ADAPTER_ID = "Tufan1/BioMedLM-Cardio-Fold10-CPU" # HF model ID
|
15 |
-
tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL)
|
16 |
|
17 |
# Load base model with safe settings
|
18 |
base_model = AutoModelForCausalLM.from_pretrained(
|
|
|
12 |
# Define base and adapter model paths
|
13 |
BASE_MODEL = "stanford-crfm/BioMedLM" # or the path you used originally
|
14 |
ADAPTER_ID = "Tufan1/BioMedLM-Cardio-Fold10-CPU" # HF model ID
|
15 |
+
tokenizer = AutoTokenizer.from_pretrained(BASE_MODEL) # tokenizer
|
16 |
|
17 |
# Load base model with safe settings
|
18 |
base_model = AutoModelForCausalLM.from_pretrained(
|