Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ PEFT_MODEL = 'microsoft/phi-2'
|
|
8 |
BASE_MODEL = 'bisoye/phi-2-for-mental-health-2'
|
9 |
|
10 |
|
11 |
-
|
12 |
-
tokenizer, model = load_peft_model_and_tokenizer(PEFT_MODEL)
|
13 |
|
14 |
|
15 |
def respond_to_audio(audio):
|
|
|
8 |
BASE_MODEL = 'bisoye/phi-2-for-mental-health-2'
|
9 |
|
10 |
|
11 |
+
tokenizer, model = load_peft_model_and_tokenizer(PEFT_MODEL, BASE_MODEL)
|
12 |
+
#tokenizer, model = load_peft_model_and_tokenizer(PEFT_MODEL)
|
13 |
|
14 |
|
15 |
def respond_to_audio(audio):
|