kshitijthakkar
commited on
Commit
Β·
f68f944
1
Parent(s):
b675010
fixed panel colors
Browse files- app.py +1 -1
- outage_odyssey_ui.py +5 -5
app.py
CHANGED
|
@@ -37,7 +37,7 @@ if USE_CLOUD_MODEL == 'true':
|
|
| 37 |
#model = LiteLLMModel(model_id="openai/gpt-4o", api_key=OPENAI_API_KEY)
|
| 38 |
#model = LiteLLMModel(model_id="anthropic/claude-3-7-sonnet-latest", api_key=ANTHROPIC_API_KEY)
|
| 39 |
model = InferenceClientModel(
|
| 40 |
-
model_id="
|
| 41 |
provider="hyperbolic",
|
| 42 |
api_key=HF_TOKEN,
|
| 43 |
)
|
|
|
|
| 37 |
#model = LiteLLMModel(model_id="openai/gpt-4o", api_key=OPENAI_API_KEY)
|
| 38 |
#model = LiteLLMModel(model_id="anthropic/claude-3-7-sonnet-latest", api_key=ANTHROPIC_API_KEY)
|
| 39 |
model = InferenceClientModel(
|
| 40 |
+
model_id="deepseek-ai/DeepSeek-V3-0324",
|
| 41 |
provider="hyperbolic",
|
| 42 |
api_key=HF_TOKEN,
|
| 43 |
)
|
outage_odyssey_ui.py
CHANGED
|
@@ -556,14 +556,14 @@ Actions taken: Rolled back changes, investigating access controls"""
|
|
| 556 |
background: linear-gradient(#f8b2b2, #c0e0ff);
|
| 557 |
}
|
| 558 |
.panel {
|
| 559 |
-
background:
|
| 560 |
backdrop-filter: blur(10px);
|
| 561 |
-
border-radius:
|
| 562 |
border: 1px solid rgba(255, 255, 255, 0.3);
|
| 563 |
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
| 564 |
padding: 16px;
|
| 565 |
}
|
| 566 |
-
|
| 567 |
"""
|
| 568 |
|
| 569 |
with gr.Blocks(theme="soft", fill_height=True, css=custom_css) as demo:
|
|
@@ -572,7 +572,7 @@ Actions taken: Rolled back changes, investigating access controls"""
|
|
| 572 |
stored_messages = gr.State([])
|
| 573 |
file_uploads_log = gr.State([])
|
| 574 |
|
| 575 |
-
##
|
| 576 |
gr.HTML("""
|
| 577 |
<div style="text-align: center; padding: 20px; background: linear-gradient(90deg, #ff6b6b, #4ecdc4); border-radius: 15px; margin-bottom: 20px;">
|
| 578 |
<h1 style="color: white; margin: 0; font-size: 2.5em;">π¨ Outage Odyssey π§©</h1>
|
|
@@ -729,7 +729,7 @@ Actions taken: Rolled back changes, investigating access controls"""
|
|
| 729 |
<div style="text-align: center; padding: 20px; margin-top: 20px; border-top: 1px solid #555;">
|
| 730 |
<p style="color: #999;">π <strong>Gradio Agents & MCP Hackathon Project</strong> | Powered by <a href="https://huggingface.co/" target="_blank">HuggingFace</a> | <a href="https://github.com/huggingface/smolagents" target="_blank">smolagents</a> | <a href="https://gradio.app/" target="_blank">Gradio</a> | <a href="https://modelcontextprotocol.io/" target="_blank">MCP</a> | <a href="https://anthropic.com/" target="_blank">Anthropic</a> | <a href="https://openai.com/" target="_blank">OpenAI</a> | <a href="https://nebius.com/" target="_blank">Nebius</a> | <a href="https://mistral.ai/" target="_blank">Mistral</a> | <a href="https://hyperbolic.xyz/" target="_blank">Hyperbolic</a></p>
|
| 731 |
<p style="color: #777; font-size: 0.9em;">Making IT incidents fun to learn from, one comic at a time! π</p>
|
| 732 |
-
<p style="color: #777; font-size: 0.5em;">Developed by <strong><a href="https://huggingface.co/
|
| 733 |
</div>
|
| 734 |
""")
|
| 735 |
|
|
|
|
| 556 |
background: linear-gradient(#f8b2b2, #c0e0ff);
|
| 557 |
}
|
| 558 |
.panel {
|
| 559 |
+
background: rgb(255 122 127 / 0.2);
|
| 560 |
backdrop-filter: blur(10px);
|
| 561 |
+
border-radius: 10px;
|
| 562 |
border: 1px solid rgba(255, 255, 255, 0.3);
|
| 563 |
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
| 564 |
padding: 16px;
|
| 565 |
}
|
| 566 |
+
|
| 567 |
"""
|
| 568 |
|
| 569 |
with gr.Blocks(theme="soft", fill_height=True, css=custom_css) as demo:
|
|
|
|
| 572 |
stored_messages = gr.State([])
|
| 573 |
file_uploads_log = gr.State([])
|
| 574 |
|
| 575 |
+
## Header
|
| 576 |
gr.HTML("""
|
| 577 |
<div style="text-align: center; padding: 20px; background: linear-gradient(90deg, #ff6b6b, #4ecdc4); border-radius: 15px; margin-bottom: 20px;">
|
| 578 |
<h1 style="color: white; margin: 0; font-size: 2.5em;">π¨ Outage Odyssey π§©</h1>
|
|
|
|
| 729 |
<div style="text-align: center; padding: 20px; margin-top: 20px; border-top: 1px solid #555;">
|
| 730 |
<p style="color: #999;">π <strong>Gradio Agents & MCP Hackathon Project</strong> | Powered by <a href="https://huggingface.co/" target="_blank">HuggingFace</a> | <a href="https://github.com/huggingface/smolagents" target="_blank">smolagents</a> | <a href="https://gradio.app/" target="_blank">Gradio</a> | <a href="https://modelcontextprotocol.io/" target="_blank">MCP</a> | <a href="https://anthropic.com/" target="_blank">Anthropic</a> | <a href="https://openai.com/" target="_blank">OpenAI</a> | <a href="https://nebius.com/" target="_blank">Nebius</a> | <a href="https://mistral.ai/" target="_blank">Mistral</a> | <a href="https://hyperbolic.xyz/" target="_blank">Hyperbolic</a></p>
|
| 731 |
<p style="color: #777; font-size: 0.9em;">Making IT incidents fun to learn from, one comic at a time! π</p>
|
| 732 |
+
<p style="color: #777; font-size: 0.5em;">Developed by <strong><a href="https://huggingface.co/kshitijthakkar" target="_blank">Kshitij Thakkar</a></strong> β Building smart tools for better learning experiences. Β© 2025</p>
|
| 733 |
</div>
|
| 734 |
""")
|
| 735 |
|