Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def chat_logic(message, history, mode_selection):
|
|
| 16 |
# Map friendly names
|
| 17 |
role_map = {
|
| 18 |
"Auto (Router)": "Auto",
|
| 19 |
-
"β‘ ASM (
|
| 20 |
"π¬ SFE (Scientist)": "SFE",
|
| 21 |
"π¨ CSM (Writer)": "CSM"
|
| 22 |
}
|
|
@@ -39,16 +39,16 @@ body {background-color: #0b0f19; color: #c9d1d9;}
|
|
| 39 |
#chatbot {height: 600px; border: 1px solid #30363d; background-color: #0d1117;}
|
| 40 |
"""
|
| 41 |
|
| 42 |
-
with gr.Blocks(css=custom_css, title="Axon
|
| 43 |
-
gr.Markdown("# βοΈ AXON:
|
| 44 |
-
gr.Markdown("*> Pipeline: Gemini
|
| 45 |
|
| 46 |
with gr.Row():
|
| 47 |
with gr.Column(scale=4):
|
| 48 |
chatbot = gr.Chatbot(elem_id="chatbot", type="messages")
|
| 49 |
with gr.Column(scale=1):
|
| 50 |
mode = gr.Dropdown(
|
| 51 |
-
choices=["Auto (Router)", "β‘ ASM (
|
| 52 |
value="Auto (Router)",
|
| 53 |
label="Persona Mode"
|
| 54 |
)
|
|
|
|
| 16 |
# Map friendly names
|
| 17 |
role_map = {
|
| 18 |
"Auto (Router)": "Auto",
|
| 19 |
+
"β‘ ASM (Binary Code)": "ASM",
|
| 20 |
"π¬ SFE (Scientist)": "SFE",
|
| 21 |
"π¨ CSM (Writer)": "CSM"
|
| 22 |
}
|
|
|
|
| 39 |
#chatbot {height: 600px; border: 1px solid #30363d; background-color: #0d1117;}
|
| 40 |
"""
|
| 41 |
|
| 42 |
+
with gr.Blocks(css=custom_css, title="Axon Binary") as demo:
|
| 43 |
+
gr.Markdown("# βοΈ AXON: BINARY STAR")
|
| 44 |
+
gr.Markdown("*> Pipeline: Gemini (Draft) β Groq (Refine)*")
|
| 45 |
|
| 46 |
with gr.Row():
|
| 47 |
with gr.Column(scale=4):
|
| 48 |
chatbot = gr.Chatbot(elem_id="chatbot", type="messages")
|
| 49 |
with gr.Column(scale=1):
|
| 50 |
mode = gr.Dropdown(
|
| 51 |
+
choices=["Auto (Router)", "β‘ ASM (Binary Code)", "π¬ SFE (Scientist)", "π¨ CSM (Writer)"],
|
| 52 |
value="Auto (Router)",
|
| 53 |
label="Persona Mode"
|
| 54 |
)
|