Spaces:
Sleeping
A newer version of the Gradio SDK is available:
6.1.0
title: Dental AI Assistant
emoji: π
colorFrom: yellow
colorTo: indigo
sdk: gradio
sdk_version: 5.39.0
app_file: app.py
pinned: false
hardware: cpu-upgrade
suggested_hardware: t4-small
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
π¦· Dental AI Assistant An advanced dental consultation and medication extraction system powered by AI. This application provides dental advice, medication recommendations, and intelligent text analysis for medical documents.
π Try it now: This Space is running on Hugging Face! No installation required.
β¨ Features
π©Ί Dental Consultation: Get AI-powered dental advice with detailed medication regimens π Medication Extraction: Extract and highlight medications from medical text using NLP π¨ Interactive Visualization: Visual representation of extracted medication entities β‘ Quick Questions: Pre-built common dental questions for instant answers βοΈ Customizable Settings: Adjust response length and creativity parameters π GPU/CPU Support: Automatic device detection and optimization π± Modern UI: Clean, responsive Gradio interface
π― Quick Start (Hugging Face Spaces)
Dental Consultation:
Click on the "π¬ Dental Consultation" tab Ask your dental question or select from quick questions Get AI-powered advice with medication recommendations
Medication Extraction:
Switch to "π Medication Extraction" tab Enter your Gemini API key (get it from Google AI Studio) Paste medical text to extract medication information
π Required API Key For medication extraction functionality, you'll need a Gemini API Key:
Visit Google AI Studio Sign in with your Google account Click "Get API Key" Create a new API key Use it in the "Medication Extraction" tab
π― Usage Examples Example 1: Dental Consultation Question: "I have a severe toothache with swelling, provide 3-day medication"
Expected Response: Detailed medication regimen including:
- Antibiotics (dosage, frequency, duration)
- Pain relievers (mechanism of action)
- Anti-inflammatory medications
- Professional consultation disclaimer
Example 2: Medication Extraction Input Text: "Patient prescribed 500mg Amoxicillin TID for 7 days and 400mg Ibuprofen QID PRN for pain"
Expected Output:
- Medication: Amoxicillin, Ibuprofen
- Dosage: 500mg, 400mg
- Frequency: TID, QID PRN
- Duration: 7 days, as needed
π¨ Important Disclaimers β οΈ Medical Disclaimer: This AI assistant is for educational purposes only. Always consult with a qualified dentist or healthcare professional for medical advice, diagnosis, or treatment. β οΈ Accuracy: While the AI strives for accuracy, medical information should always be verified with healthcare professionals. β οΈ Emergency: For dental emergencies, contact your dentist or emergency services immediately.
π§ Technical Details
Model Information
Model: yasserrmd/DentaInstruct-1.2B Framework: Hugging Face Transformers Device: Auto-detected (GPU/CPU) Precision: Float16 (GPU) / Float32 (CPU)
Gemini API Errors
Verify API key is correct Check API quota and billing Ensure key has necessary permissions
π License This project is licensed under the MIT License. π Acknowledgments
Model: yasserrmd/DentaInstruct-1.2B Framework: Hugging Face Transformers UI: Gradio NLP: LangExtract API: Google Gemini
Built with β€οΈ for the dental community