--- title: Namereaction Api emoji: 📚 colorFrom: yellow colorTo: gray sdk: gradio sdk_version: 5.49.1 app_file: app.py pinned: false license: apache-2.0 --- # Organic Reactions Search This is a Gradio-based web app for searching the organic reactions dataset from Hugging Face. ## Dataset The dataset used is `smitathkr1/organic_reactions_enhanced`, which contains information about various organic reactions including names, reactants, products, conditions, mechanisms, and descriptions. ## Features - **Search by Reaction Name**: Enter a reaction name to get details - **Search by Reactant**: Find reactions that use a specific reactant - **Search by Product**: Find reactions that produce a specific product - **Autocomplete**: Get suggestions for reaction names, reactants, and products ## Performance The dataset is loaded into memory using pandas for fast searches. With only 828 entries, all operations are sub-second. ## Local Development To run locally: ```bash pip install -r requirements.txt python app.py ``` The app will launch in your browser.