a-share-demo / README.md
ellendan's picture
(fix) try fix space page display
ccfc08a

A newer version of the Gradio SDK is available: 5.29.0

Upgrade
metadata
title: A Share Demo
emoji: 🐢
colorFrom: purple
colorTo: blue
sdk: gradio
sdk_version: 5.9.1
app_file: app.py
pinned: false
license: gpl-3.0

1. Install dependencies

The latest Demo uses TA-Lib, so you need to install the C/C++ TA-Lib library locally first.
To install the C/C++ library, see the official README.

Then, if you are using pipenv, run

pipenv sync 

# or 
pip install

otherwise, run

pip install -r local-requirements.txt

2. Run the app

If you want to run the app.py locally, run

pipenv run python app.py

Attention: Your network should be able to access the huggingface website, because we loading the dataset from huggingface. And then accsess the app at http://localhost:7860.

3. Run the nootebook scripts

Recommendation: use your local development IDE for the jupyter notebook files.

Or you can launch a jupyter nootbook web in the terminal, run

pipenv run jupyter lab