Spaces:
Sleeping
Sleeping
File size: 1,072 Bytes
6d09811 a34bcb7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
---
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.
|