MedCodeMCP / src /app.py

Commit History

app.py wrapper for Gradio waa very bad idea, regoranizing project for clarity, utils folder will be very import of separation of concerns
3b5fe24

gpaasch commited on

t-shooting poor performance
d364129

gpaasch commited on

checkpoint 1
996be5a

gpaasch commited on

Revert "1. Structure responses with both diagnoses and follow-up questions"
3a7b207

gpaasch commited on

1. Structure responses with both diagnoses and follow-up questions
5c7ca93

gpaasch commited on

see a progress counter when submit is it
b348126

gpaasch commited on

submit button wasn't working
3102246

gpaasch commited on

these integrations could potentially multiply winnings
11e9f13

gpaasch commited on

no need for gradio live
8a3861b

gpaasch commited on

solved ffmpeg-related error
4b8e08c

gpaasch commited on

1. Removed global pipeline initialization to prevent warm-up crashes
9ae574b

gpaasch commited on

FutureWarning: The input name `inputs` is deprecated. Please make sure to use `input_features` instead.
1f0d5ee

gpaasch commited on

preventing segmentation fault
7254b3e

gpaasch commited on

1. Added memory management
75020f1

gpaasch commited on

1. Added text input processing function
21d0c24

gpaasch commited on

attention mask is not set
ec82b9a

gpaasch commited on

audio processing pipeliine
54fa492

gpaasch commited on

1. Removed unsafe `.get()` calls
00bcf43

gpaasch commited on

taking out type
95321db

gpaasch commited on

enable cross-origin requests
65e09c8

gpaasch commited on

should resolve font-related console errors
112a6dc

gpaasch commited on

microphone should now transcribe directly to text wihtout needing intermediate audio file processing
ede3b41

gpaasch commited on

popped the bubble
5758d49

gpaasch commited on

bug fix
e4c649c

gpaasch commited on

Add footer with social links
6099043

gpaasch commited on

- Create the models directory on demand
f3e3012

gpaasch commited on

fixed problems
fba5119

gpaasch commited on

1. Added a professional header and instructions
daa3242

gpaasch commited on

enhanced logging
a487eb3

gpaasch commited on

should resolve the `ModuleNotFoundError` in the Hugging Face Space while maintaining the local development setup
f9e956a

gpaasch commited on

1. More structured query format focusing on ICD-10 codes
ec7356b

gpaasch commited on

1. Modified the query prompt to explicitly ask for differentiating questions
b31399c

gpaasch commited on

1. Removed hardcoded "cough" question
cc35b42

gpaasch commited on

better visibility into the startup process
8cb83ca

gpaasch commited on

added import
bb5eec7

gpaasch commited on

1. Only download the specific `.gguf` file we need
6afe259

gpaasch commited on

doesn't seem to be running
db0b943

gpaasch commited on

setup for local llm
f6efb83

gpaasch commited on

use llamacpp integration instead
984d858

gpaasch commited on

no problems, local llm setup
255428d

gpaasch commited on

feat: Add local LLM support with ctransformers
c024962

gpaasch commited on

works
932f0ad

gpaasch commited on

problems resolved
d6d864a

gpaasch commited on

the api has changed in recent version of gradio
2901e96

gpaasch commited on

include MCP-specific configurations
d74007c

gpaasch commited on

interactive questioning enhancement
ed04336

gpaasch commited on

getting local to work to prevent burining up my credits
0ef172c

gpaasch commited on

hf embeddings for llama index had to be installed: https://docs.llamaindex.ai/en/stable/module_guides/models/embeddings/
357828f

gpaasch commited on

removed unused imports
dd35ab8

gpaasch commited on

fix: ImportError: cannot import name 'SimpleDirectoryReader' from 'llama_index' (unknown location)
8bdfed2

gpaasch commited on