Spaces:
Runtime error
Runtime error
Download app.py from thetwistedpixie/Long_acting_injection_helper: direct link, hf CLI and curl.
- Browser
- Download file 1.01 kB
-
https://huggingface.co/spaces/thetwistedpixie/Long_acting_injection_helper/resolve/main/app.py
- Command line
-
hf download hf://spaces/thetwistedpixie/Long_acting_injection_helper/app.py
-
curl -L -o app.py https://huggingface.co/spaces/thetwistedpixie/Long_acting_injection_helper/resolve/main/app.py
1.01 kB
| import gradio as gr | |
| # THE DATA VAULT | |
| # Your job: Expand this dictionary with the actual clinical data. | |
| # Do not leave this half-baked. Add Aripiprazole, Flupentixol, Haloperidol, etc. | |
| depot_database = { | |
| "Paliperidone (Xeplion)": { | |
| "needle_size": "Deltoid: 1-inch (or 1.5 for higher BMI). Gluteal: 1.5-inch.", | |
| "technique": "Shake vigorously for 15 seconds. If you don't, it's basically wet cement.", | |
| "z_track_required": True, | |
| "half_life": "25-49 days", | |
| "clinical_pearl": "Do not rub the site unless you want it to leak out like a cursed weeping statue." | |
| }, | |
| "Zuclopenthixol Decanoate (Clopixol)": { | |
| "needle_size": "Gluteal: 1.5-inch to 2-inch.", | |
| "technique": "Deep intramuscular. It's thick, oily, and moves like refrigerated molasses. Take your time.", | |
| "z_track_required": True, | |
| "half_life": "17-39 days", | |
| "clinical_pearl": "Warm the ampoule in your hands first unless you want the plunger to snap off." | |
| } | |
| } | |