Dina-Raslan commited on
Commit
f491f77
Β·
verified Β·
1 Parent(s): ea1e8b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
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 = gr.Chatbot(height=450, type="messages")
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(