Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,14 +81,10 @@ if st.sidebar.button('Submit'):
|
|
| 81 |
json={
|
| 82 |
"model": "anthropic/claude-3.7-sonnet",
|
| 83 |
"messages": [
|
| 84 |
-
{
|
| 85 |
-
"role": "system",
|
| 86 |
-
"content": "You are a world-class psychiatrist who specializes in providing "
|
| 87 |
-
"personalized mental health diagnoses and treatment plans."
|
| 88 |
-
},
|
| 89 |
{
|
| 90 |
"role": "user",
|
| 91 |
-
"content":
|
|
|
|
| 92 |
}
|
| 93 |
],
|
| 94 |
"max_tokens": 1000,
|
|
|
|
| 81 |
json={
|
| 82 |
"model": "anthropic/claude-3.7-sonnet",
|
| 83 |
"messages": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
{
|
| 85 |
"role": "user",
|
| 86 |
+
"content": "You are a world-class psychiatrist who specializes in providing "
|
| 87 |
+
"personalized mental health diagnoses and treatment plans. " + prompt
|
| 88 |
}
|
| 89 |
],
|
| 90 |
"max_tokens": 1000,
|