Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -452,11 +452,7 @@ def chat_with_groq(message, history):
|
|
| 452 |
return f"Error: {str(e)}"
|
| 453 |
|
| 454 |
# ββ Gradio UI βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 455 |
-
with gr.Blocks(
|
| 456 |
-
title="CKD-MultiVision",
|
| 457 |
-
theme=gr.themes.Soft(primary_hue="blue", secondary_hue="cyan")
|
| 458 |
-
) as demo:
|
| 459 |
-
|
| 460 |
gr.Markdown("""
|
| 461 |
# CKD-MultiVision
|
| 462 |
### Multimodal AI System for Early Chronic Kidney Disease Detection
|
|
@@ -495,7 +491,7 @@ with gr.Blocks(
|
|
| 495 |
|
| 496 |
with gr.TabItem("CKD Health Coach"):
|
| 497 |
gr.Markdown("### Ask about diet, lifestyle, exercise, and kidney health.")
|
| 498 |
-
chatbot
|
| 499 |
chat_input = gr.Textbox(placeholder="Ask a question...", label="Your Message")
|
| 500 |
send_btn = gr.Button("Send", variant="primary")
|
| 501 |
gr.Examples(
|
|
|
|
| 452 |
return f"Error: {str(e)}"
|
| 453 |
|
| 454 |
# ββ Gradio UI βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 455 |
+
with gr.Blocks(title="CKD-MultiVision") as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 456 |
gr.Markdown("""
|
| 457 |
# CKD-MultiVision
|
| 458 |
### Multimodal AI System for Early Chronic Kidney Disease Detection
|
|
|
|
| 491 |
|
| 492 |
with gr.TabItem("CKD Health Coach"):
|
| 493 |
gr.Markdown("### Ask about diet, lifestyle, exercise, and kidney health.")
|
| 494 |
+
chatbot = gr.Chatbot(height=450)
|
| 495 |
chat_input = gr.Textbox(placeholder="Ask a question...", label="Your Message")
|
| 496 |
send_btn = gr.Button("Send", variant="primary")
|
| 497 |
gr.Examples(
|