A newer version of the Gradio SDK is available:
5.11.0
metadata
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):
# 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:
pip install -r pre-requirements.txt
pip install -r requirements.txt
Run:
gradio app.py