Ruina-v2-Text-generation-image is a telegram chatbot based on chatGPT from openai and have image generation feature dall-E
install the required libraries
See the OpenAI API docs.
pip install -r requirements.txt
The library needs to be configured with your account's secret key which is available on the Website.
add your secret key at
import openai
openai.api_key = "Openai-key"
add your telegram secret key at
api = 'telegrambot-key'
bot = telebot.TeleBot(api)
Clone the project
git clone https://github.com/domswp/Ruina-v2-Text-generation-Image-.git
Go to the project directory
cd Ruina-v2-generation-Image
Start the program
python main.py