|
--- |
|
title: Extraction of synthesis protocols from paragraphs in machine readable format |
|
emoji: 💡 |
|
colorFrom: green |
|
colorTo: blue |
|
sdk: gradio |
|
sdk_version: 3.27.0 |
|
app_file: app.py |
|
pinned: false |
|
license: mit |
|
python_version: 3.8.13 |
|
pip_version: 23.0.1 |
|
--- |
|
|
|
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference |
|
|
|
## Local testing |
|
|
|
Set up an environment (Note: use Python 3.8 or lower): |
|
```bash |
|
# Option 1: conda |
|
conda create -n gradio python=3.8 -y |
|
conda activate gradio |
|
# Option 2: venv |
|
python3.8 -m venv venv |
|
source venv/bin/activate |
|
``` |
|
|
|
Install the dependencies: |
|
```bash |
|
pip install -r pre-requirements.txt |
|
pip install -r requirements.txt |
|
``` |
|
|
|
Run: |
|
```bash |
|
gradio app.py |
|
``` |
|
|