Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,6 @@ import hashlib
|
|
| 8 |
import shutil
|
| 9 |
import re
|
| 10 |
from datetime import datetime
|
| 11 |
-
import time
|
| 12 |
|
| 13 |
persistent_dir = "/data/hf_cache"
|
| 14 |
os.makedirs(persistent_dir, exist_ok=True)
|
|
@@ -95,7 +94,7 @@ def init_agent():
|
|
| 95 |
|
| 96 |
def create_ui(agent):
|
| 97 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 98 |
-
gr.Markdown("<h1 style='text-align: center;'
|
| 99 |
chatbot = gr.Chatbot(label="Summary Output", height=600)
|
| 100 |
file_upload = gr.File(label="Upload Excel File", file_types=[".xlsx"], file_count="single")
|
| 101 |
msg_input = gr.Textbox(label="Optional Message", placeholder="Add context or instructions...", lines=2)
|
|
|
|
| 8 |
import shutil
|
| 9 |
import re
|
| 10 |
from datetime import datetime
|
|
|
|
| 11 |
|
| 12 |
persistent_dir = "/data/hf_cache"
|
| 13 |
os.makedirs(persistent_dir, exist_ok=True)
|
|
|
|
| 94 |
|
| 95 |
def create_ui(agent):
|
| 96 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 97 |
+
gr.Markdown("<h1 style='text-align: center;'>🏥 Full Medical History Analyzer</h1>")
|
| 98 |
chatbot = gr.Chatbot(label="Summary Output", height=600)
|
| 99 |
file_upload = gr.File(label="Upload Excel File", file_types=[".xlsx"], file_count="single")
|
| 100 |
msg_input = gr.Textbox(label="Optional Message", placeholder="Add context or instructions...", lines=2)
|