This project aims to showcase the capabilities of text and image generation using Replicate and Streamlit. Replicate is used for generating text, while Streamlit provides a user-friendly interface to interact with and visualize the generated content.
-
Text Generation: Utilizes Replicate to generate creative and diverse text content based on given prompts.
-
Image Generation: Incorporates Replicate for image synthesis, creating unique and imaginative visuals.
-
User Interaction: Streamlit provides a user-friendly interface to customize prompts, view generated results, and control parameters.
.
├── __pycache__ # Python bytecode cache (automatically generated)
├── pages # Directory for Streamlit pages (if applicable)
│ └── ... # Additional files related to Streamlit pages
├── venv # Virtual environment directory (if using virtual environment)
│ └── ... # Virtual environment files
├── 1_Text Gen.py # Main script for Text Generation
├── replicateBackend.py # Utility script for interacting with Replicate API
├── requirements.txt # Project dependencies
└── README.md # Project documentation
-
Clone the repository:
git clone https://github.com/Xyz31/LLM_Text_And_Image_Generation-Project.git
-
Change into the project directory:
cd LLM_Text_And_Image_Generation-Project.git
-
Install the required dependencies:
pip install -r requirements.txt
- Run the Streamlit app:
streamlit run app.py
- Open your web browser and navigate to http://localhost:8501 to interact with the application.