Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -262,12 +262,12 @@ def clear_chat():
|
|
| 262 |
# UI en Gradio 5
|
| 263 |
# =========================
|
| 264 |
with gr.Blocks(
|
| 265 |
-
title="OpScanIA
|
| 266 |
theme=gr.themes.Soft()
|
| 267 |
) as demo:
|
| 268 |
gr.Markdown(
|
| 269 |
"""
|
| 270 |
-
# 📄 DeepSeek-OCR → 💬 Chat Clínico
|
| 271 |
1. **Sube una imagen** y corre **OCR** (imagen anotada, Markdown y texto).
|
| 272 |
2. **Chatea** con **TxAgent**. El chat usa automáticamente el texto detectado por OCR
|
| 273 |
como contexto clínico.
|
|
@@ -332,7 +332,7 @@ with gr.Blocks(
|
|
| 332 |
)
|
| 333 |
|
| 334 |
# Panel Chat
|
| 335 |
-
gr.Markdown("## Chat Clínico
|
| 336 |
with gr.Row():
|
| 337 |
with gr.Column(scale=2):
|
| 338 |
chatbot = gr.Chatbot(
|
|
|
|
| 262 |
# UI en Gradio 5
|
| 263 |
# =========================
|
| 264 |
with gr.Blocks(
|
| 265 |
+
title="OpScanIA",
|
| 266 |
theme=gr.themes.Soft()
|
| 267 |
) as demo:
|
| 268 |
gr.Markdown(
|
| 269 |
"""
|
| 270 |
+
# 📄 DeepSeek-OCR → 💬 Chat Clínico
|
| 271 |
1. **Sube una imagen** y corre **OCR** (imagen anotada, Markdown y texto).
|
| 272 |
2. **Chatea** con **TxAgent**. El chat usa automáticamente el texto detectado por OCR
|
| 273 |
como contexto clínico.
|
|
|
|
| 332 |
)
|
| 333 |
|
| 334 |
# Panel Chat
|
| 335 |
+
gr.Markdown("## Chat Clínico")
|
| 336 |
with gr.Row():
|
| 337 |
with gr.Column(scale=2):
|
| 338 |
chatbot = gr.Chatbot(
|