ambhtmx.plotly / README.md
jrosell's picture
fix readme
6c5f86a
metadata
title: ambhtmx.plotly
emoji: πŸƒ
colorFrom: pink
colorTo: pink
sdk: docker
pinned: false

Lifecycle:
experimental

THIS IS A WORK IN PROGRESS, DO NOT USE

See the demo here:

Or test it locally:

git clone [email protected]:jrosell/ambhtmx.plotly.git
cd ambhtmx.plotly
echo GITHUB_PAT="Your token from github" >> .Renviron
bash docker_run.sh

If you want, you can remove docker containers and images:

bash docker_rm.sh

How to use Github and Hugging Face Spaces for my project

When you pushing a repository to a Hugging Face Spaces with the option to deploy Dockerfile and include a Dockerfile, Hugging Face will start building and running your app in the Space.

Customize this example, to enable Hugging Face Spaces as additional remote:

git init
git add -A
git status
git commit -m "My changes"
git remote add origin [email protected]:jrosell/ambhtmx.plotly.git
git remote add gh [email protected]:jrosell/ambhtmx.plotly.git
git remote add hf [email protected]:spaces/jrosell/ambhtmx.plotly
git remote -v

Then, to depoly to Hugging Face Spaces run:

bash deploy_hf.sh

Troubleshooting

Kown issues:

  • Only updates when refreshing the whole page. WIP should rerender on innerHTML replace.

Check the known issues, and if you have another issue? Please, let me know.