Skip to content

ELITA04/FGTD-Streamlit

Repository files navigation

Face Generation from Textual Description Open in Streamlit

Check the main repository here.

Demo

How to set it up locally

Using Docker

1. Clone the Repository

git clone https://github.com/ELITA04/FGTD-Streamlit

2. Change Working Directory

cd FGTD-Streamlit

3. Setup Docker

docker image build -t streamlit:app .
docker container run -p 8501:8501 -d streamlit:app

4. Open the URL

Enter the URL specified in the console. It will be something similar to http://localhost:8501. You will be able to access the app here.


Using a Virtual Environment (Like Anaconda)

1. Clone the Repository

git clone https://github.com/ELITA04/FGTD-Streamlit

2. Change Working Directory

cd FGTD-Streamlit

3. Create and Activate a Virtual Environment

conda create --name <name> python=3.7
conda activate <name>

4. Download the Requirements

pip install requirements.txt

5. Run Streamlit

streamlit run app.py

6. Open the URL

Streamlit will automatically open the browser for you. You can also open one of the links mentioned in the console. The models will automatically download on the first run.

References