This Streamlit app allows you to generate new celebrity faces using a pre-trained Generative Adversarial Network (GAN) model trained on the CelebA dataset. To run the app, follow the steps below:
Images are blurred as it is trained only on 10 epochs
![]() |
![]() |
![]() |
To run this app, you need to have the following Python libraries installed:
- Streamlit (
pip install streamlit
) - TensorFlow (
pip install tensorflow
) - NumPy (
pip install numpy
) - Matplotlib (
pip install matplotlib
)
-
Clone the repository or download the app files.
-
Make sure you have installed the required dependencies mentioned above.
-
Open a terminal or command prompt and navigate to the directory containing
app.py
. -
Run the following command to start the Streamlit app:
streamlit run app.py
-
Once the app is running, open your web browser and go to
http://localhost:{PORT}
. -
Use the slider to select the number of images you want to generate, and click the "Generate" button to see the generated celebrity faces.
This project is licensed under the MIT License. See the LICENSE file for more details.
- The CelebA dataset for providing the celebrity face images for training the GAN model.
- TensorFlow and Keras for their excellent machine learning frameworks.
- Streamlit for making it easy to build interactive web applications with Python.
If you have any questions or suggestions, feel free to contact us at kumawatrahul960@gmail.com.
Enjoy generating celebrity faces with GAN on Streamlit!