Skip to content

stackOcean-official/qa-showcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

question-answer-showcase

Sample Deployment of a QA Model with Streamlit UI using Docker and HuggingFace


How to setup

Create a new venv (virtual environment):

python3 -m venv .venv

Activate new environment:

For Mac/Linux:

source .venv/bin/activate

For Windows:

source .venv/Scripts/activate

Install packages:

pip install -r requirements.txt

Run the streamlit app

python3 -m streamlit run src/app.py

How to build & run the Docker Image

docker build -t qa-showcase .

Run the Docker Image with:

docker run -d --rm -p 8501:8501 --name qa-showcase qa-showcase

You can now access the streamlit server at http://localhost:8501


To view the logs of the container run:

docker logs qa-showcase

To stop the container run:

docker stop qa-showcase

About

a showcase of a question answer ai model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published