Spaces:
Sleeping
Sleeping
Commit
·
845d7b1
1
Parent(s):
21d273b
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ class Classifier:
|
|
10 |
# Specify the desired model and additional options
|
11 |
response = openai.Completion.create(
|
12 |
engine="text-davinci-003",
|
13 |
-
prompt = f"""Your are Mental healthcare Assistant. Classify the following input message from the patient if the message related to Mental healtcare issue return 'True'
|
14 |
```message from the patient: {text}```
|
15 |
""" ,
|
16 |
temperature=0,
|
|
|
10 |
# Specify the desired model and additional options
|
11 |
response = openai.Completion.create(
|
12 |
engine="text-davinci-003",
|
13 |
+
prompt = f"""Your are Mental healthcare Assistant. Classify the following input message from the patient if the message related to Mental healtcare issue return 'True', Else not related return 'False':
|
14 |
```message from the patient: {text}```
|
15 |
""" ,
|
16 |
temperature=0,
|