Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,9 +4,9 @@ import os
|
|
| 4 |
|
| 5 |
# Die Ratsmitglieder
|
| 6 |
COUNCIL_MEMBERS = {
|
| 7 |
-
"Mitglied 1 (
|
| 8 |
-
"Mitglied 2 (DeepSeekV3)": ("deepseek-ai/DeepSeek-V3", "Du bist ein Teil eines LLMCouncils
|
| 9 |
-
"Mitglied 3 (GPTOSS120b)": ("openai/gpt-oss-120b:novita", "Du bist ein Teil eines LLMCouncils
|
| 10 |
}
|
| 11 |
|
| 12 |
MODERATOR_MODEL = "openai/gpt-oss-120b:novita"
|
|
@@ -94,7 +94,7 @@ def run_council(user_prompt, rounds):
|
|
| 94 |
yield history
|
| 95 |
|
| 96 |
# --- PHASE 3: FINALE UMSETZUNG (BENUTZERAUFTRAG ERFÜLLEN) ---
|
| 97 |
-
history.append({"role": "assistant", "content": "<h2 style='color: #FF5A4D; border-bottom: 2px solid #FFEBE8; padding-bottom: 5px; margin-top: 20px;'>🏆 FINALE AUSGABE
|
| 98 |
yield history
|
| 99 |
|
| 100 |
final_prompt = (
|
|
@@ -138,7 +138,7 @@ with gr.Blocks() as demo:
|
|
| 138 |
)
|
| 139 |
with gr.Column(scale=1):
|
| 140 |
rounds_slider = gr.Slider(
|
| 141 |
-
minimum=1, maximum=
|
| 142 |
label="Diskussionszyklen"
|
| 143 |
)
|
| 144 |
|
|
|
|
| 4 |
|
| 5 |
# Die Ratsmitglieder
|
| 6 |
COUNCIL_MEMBERS = {
|
| 7 |
+
"Mitglied 1 (Llama4-17B)": ("meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8:novita", "Du bist ein Teil eines LLMCouncils."),
|
| 8 |
+
"Mitglied 2 (DeepSeekV3)": ("deepseek-ai/DeepSeek-V3", "Du bist ein Teil eines LLMCouncils."),
|
| 9 |
+
"Mitglied 3 (GPTOSS120b)": ("openai/gpt-oss-120b:novita", "Du bist ein Teil eines LLMCouncils.")
|
| 10 |
}
|
| 11 |
|
| 12 |
MODERATOR_MODEL = "openai/gpt-oss-120b:novita"
|
|
|
|
| 94 |
yield history
|
| 95 |
|
| 96 |
# --- PHASE 3: FINALE UMSETZUNG (BENUTZERAUFTRAG ERFÜLLEN) ---
|
| 97 |
+
history.append({"role": "assistant", "content": "<h2 style='color: #FF5A4D; border-bottom: 2px solid #FFEBE8; padding-bottom: 5px; margin-top: 20px;'>🏆 FINALE AUSGABE</h2>"})
|
| 98 |
yield history
|
| 99 |
|
| 100 |
final_prompt = (
|
|
|
|
| 138 |
)
|
| 139 |
with gr.Column(scale=1):
|
| 140 |
rounds_slider = gr.Slider(
|
| 141 |
+
minimum=1, maximum=5, value=1, step=1,
|
| 142 |
label="Diskussionszyklen"
|
| 143 |
)
|
| 144 |
|