Skip to content

Commit

Permalink
Update server_host.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Luodian authored Dec 2, 2023
1 parent fd7cc34 commit c72fdf6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/server_host.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,38 @@ We will show you how to host a demo on your own computer using gradio.

## Preparation

### Warnings: `gradio` and `gradio_client` may have errors after upgrading.

Please keep the packages fixed with the following versions (my local verified model serving environment).
```
braceexpand==0.1.7
einops==0.7.0
fastapi==0.104.1
gradio==4.7.1
horovod==0.27.0
huggingface_hub==0.14.0
ijson==3.2.3
importlib_metadata==6.6.0
inflection==0.5.1
markdown2==2.4.8
natsort==8.4.0
nltk==3.8.1
numpy==1.26.2
openai==1.3.7
opencv_python==4.8.1.78
opencv_python_headless==4.8.1.78
orjson==3.9.10
packaging==23.2
Pillow==10.1.0
pycocoevalcap==1.2
pycocotools==2.0.7
Requests==2.31.0
tqdm==4.65.0
transformers==4.35.0
uvicorn==0.24.0.post1
webdataset==0.2.79
```

### Download the checkpoints

The 🦦 Otter checkpoint and the 🦩 Open Flamingo checkpoint can be auto-downloaded with the code below.
Expand Down

0 comments on commit c72fdf6

Please sign in to comment.