An end-to-end computer vision project for text-to-image generation and image analysis. This repository features data exploration, model experimentation, and an interactive Streamlit dashboard. Users can generate creative images from text prompts, analyze visual content, and perform prompt engineering experiments using advanced Generative AI and deep learning pipelines.
| Category | Technologies Used |
|---|---|
| 🌐 Programming Language | Python |
| 🌱 Environment | Jupyter Notebook |
| 🧩 Frameworks | PyTorch, Streamlit |
| ⚛️ Libraries | NumPy, Matplotlib, Diffusers, pyngrok, Streamlit - Drawable Canvas,Transformers, Pillow, Accelerate, safetensors |
| 🤖 Generative AI Models | Stable-Diffusion-v1-5, Stable-Diffusion-Inpainting |
| ⚡ Tool | Google Colab |
| 🚧 Tunneling Service | ngrok |
-
Prerequisites
- Python 3.11 or higher.
- Git installed on your system.
- An active ngrok account.
-
Ngrok Authtoken Setup
- Visit the official ngrok website.
- Sign up for a new account or log in to your existing account.
- Once redirected to the ngrok dashboard, navigate to the Your Authtoken menu on the left sidebar.
- Copy your unique authentication token to use during the configuration phase.
-
Clone the Repository
git clone https://github.com/Fikri-Rouzan/image-generation.git
cd image-generation-
Configure Authentication Token
Open the
streamlit.ipynbfile and insert your ngrok authtoken into the following code cellauth_token = "YOUR_AUTHENTICATION_KEY" ngrok.set_auth_token(auth_token) subprocess.Popen(["streamlit", "run", "app.py"])