Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -142,7 +142,6 @@ def reset_conversation():
|
|
| 142 |
with gr.Blocks(title="Depression Training Simulator", theme=gr.themes.Soft()) as demo:
|
| 143 |
gr.Markdown("# 🧠 Depression Training Simulator")
|
| 144 |
gr.Markdown("**Übe realistische Gespräche mit einem 16-jährigen Teenager mit Depressionen**")
|
| 145 |
-
gr.Markdown("⚠️ *Dies ist ein Trainingssimulator - alle Antworten sind von einer KI generiert*")
|
| 146 |
gr.Markdown("🔍 *Debug-Informationen werden nur im Terminal angezeigt*")
|
| 147 |
|
| 148 |
with gr.Row():
|
|
@@ -153,26 +152,8 @@ with gr.Blocks(title="Depression Training Simulator", theme=gr.themes.Soft()) as
|
|
| 153 |
temperature = gr.Slider(0.7, 1.3, value=1.0, step=0.1, label="Kreativität/Variabilität")
|
| 154 |
top_p = gr.Slider(0.8, 1.0, value=0.9, step=0.05, label="Fokus")
|
| 155 |
|
| 156 |
-
# Tipps für Gesprächsführung
|
| 157 |
-
gr.Markdown("### 💡 Gesprächstipps")
|
| 158 |
-
gr.Markdown("""
|
| 159 |
-
- Stelle offene Fragen
|
| 160 |
-
- Zeige Empathie
|
| 161 |
-
- Vermeide Ratschläge
|
| 162 |
-
- Höre aktiv zu
|
| 163 |
-
- Respektiere Grenzen
|
| 164 |
-
""")
|
| 165 |
-
|
| 166 |
-
# Terminal Info
|
| 167 |
-
gr.Markdown("### 🔍 Terminal Debug")
|
| 168 |
-
gr.Markdown("""
|
| 169 |
-
Im Terminal siehst du:
|
| 170 |
-
- Rollentest-Antworten
|
| 171 |
-
- API-Nachrichten
|
| 172 |
-
- Debug-Informationen
|
| 173 |
-
""")
|
| 174 |
-
|
| 175 |
# Actions
|
|
|
|
| 176 |
gr.Markdown("### 🔄 Aktionen")
|
| 177 |
reset_btn = gr.Button("Neues Gespräch", variant="secondary")
|
| 178 |
|
|
|
|
| 142 |
with gr.Blocks(title="Depression Training Simulator", theme=gr.themes.Soft()) as demo:
|
| 143 |
gr.Markdown("# 🧠 Depression Training Simulator")
|
| 144 |
gr.Markdown("**Übe realistische Gespräche mit einem 16-jährigen Teenager mit Depressionen**")
|
|
|
|
| 145 |
gr.Markdown("🔍 *Debug-Informationen werden nur im Terminal angezeigt*")
|
| 146 |
|
| 147 |
with gr.Row():
|
|
|
|
| 152 |
temperature = gr.Slider(0.7, 1.3, value=1.0, step=0.1, label="Kreativität/Variabilität")
|
| 153 |
top_p = gr.Slider(0.8, 1.0, value=0.9, step=0.05, label="Fokus")
|
| 154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 155 |
# Actions
|
| 156 |
+
gr.Markdown("### 🔄 Teste: Hallo, wie geht es dir?")
|
| 157 |
gr.Markdown("### 🔄 Aktionen")
|
| 158 |
reset_btn = gr.Button("Neues Gespräch", variant="secondary")
|
| 159 |
|