simonw commited on
Commit
6e7c7bb
1 Parent(s): dbedc35

Serve history.db

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -2
  2. metadata.yml +7 -0
Dockerfile CHANGED
@@ -6,6 +6,7 @@ COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
- COPY . .
 
10
 
11
- CMD ["datasette", "--host", "0.0.0.0", "--port", "7860"]
 
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
+ ADD https://static.simonwillison.net/static/2023/history.db /code/history.db
10
+ COPY ./metadata.yml /code/metadata.yml
11
 
12
+ CMD ["datasette", "/code/history.db", "-m", "/code/metadata.yml", "--host", "0.0.0.0", "--port", "7860"]
metadata.yml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ title: History of TheBloke models
2
+ about: simonw/scrape-huggingface-models
3
+ about_url: https://github.com/simonw/scrape-huggingface-models
4
+ description_html: |-
5
+ <p>Browse the history of models in <a href="https://huggingface.co/TheBloke">huggingface.co/TheBloke</a>.</p>
6
+ <p>Uses <a href="https://simonwillison.net/2020/Oct/9/git-scraping/">Git scraping</a>
7
+ and <a href="https://datasette.io/tools/git-history">git-history</a>.</p>