Skip to content

Commit

Permalink
Add Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alexuvarovskyi committed Oct 9, 2024
1 parent ede4d30 commit ebea2c7
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions serving/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Streamlit


## Local Deployment
```bash
streamlit run streamlit_ui.py -- --model_path path/to/model
```


## Build Container
```bash
docker build \
--build-arg AWS_ACCESS_KEY_ID=key \
--build-arg AWS_SECRET_ACCESS_KEY="secret_key" \
-t streamlit_app:latest .
```

Run:
```bash
docker run -it --rm -p 8501:8501 streamlit_app:latest
```


# Gradio

## Local Deployment
```bash
python gradio_ui.py --model_path path/to/model
```

## Build Container
```bash
docker build \
--build-arg AWS_ACCESS_KEY_ID=key \
--build-arg AWS_SECRET_ACCESS_KEY="secret_key" \
-t gradio_app:latest .
```

0 comments on commit ebea2c7

Please sign in to comment.