Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -479,8 +479,8 @@ def toggle_slider(is_mean):
|
|
| 479 |
# ========= Gradio UI =========
|
| 480 |
EXAMPLES_DIR = "examples"
|
| 481 |
|
| 482 |
-
with gr.Blocks(
|
| 483 |
-
gr.Markdown("# 🖼️→📝
|
| 484 |
gr.Markdown(
|
| 485 |
"Upload an image or click **Load random sample**, generate text, then select a **generated word**. "
|
| 486 |
"Above: original image, overlay (original + attention), and heatmap (colored). "
|
|
|
|
| 479 |
# ========= Gradio UI =========
|
| 480 |
EXAMPLES_DIR = "examples"
|
| 481 |
|
| 482 |
+
with gr.Blocks() as demo:
|
| 483 |
+
gr.Markdown("# 🖼️→📝 Chest X-ray Report Generation + Attention Visualizer (three views + text)")
|
| 484 |
gr.Markdown(
|
| 485 |
"Upload an image or click **Load random sample**, generate text, then select a **generated word**. "
|
| 486 |
"Above: original image, overlay (original + attention), and heatmap (colored). "
|