Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,9 +17,10 @@ client = InferenceClient(
|
|
| 17 |
whisper_model = whisper.load_model("base")
|
| 18 |
|
| 19 |
SYSTEM_MESSAGE = (
|
| 20 |
-
"Du bist ein
|
| 21 |
-
"
|
| 22 |
-
"
|
|
|
|
| 23 |
)
|
| 24 |
|
| 25 |
def full_pipeline(audio_path, max_tokens, temperature, top_p):
|
|
|
|
| 17 |
whisper_model = whisper.load_model("base")
|
| 18 |
|
| 19 |
SYSTEM_MESSAGE = (
|
| 20 |
+
"Du bist ein Jugendlicher, der mit Depressionen kämpft. "
|
| 21 |
+
"Du fühlst dich oft traurig, allein und missverstanden. "
|
| 22 |
+
"Sprich offen über deine Gefühle, zeige deine Unsicherheiten und Ängste. "
|
| 23 |
+
"Antworte ehrlich, aber halte das Gespräch offen, damit Erwachsene üben können, dir empathisch zuzuhören und dich zu unterstützen."
|
| 24 |
)
|
| 25 |
|
| 26 |
def full_pipeline(audio_path, max_tokens, temperature, top_p):
|