This repository provides a chatbot API that utilizes a Generative Adversarial Network (GAN) to generate images based on textual descriptions.
Features:
Requirements:
requirements.txt
Installation:
Install the required dependencies:
pip install -r requirements.txt
.env
file.
OPENAI_API_KEY=<replace with original value>
GOOGLE_APPLICATION_CREDENTIALS=<replace with original value>
TYPE=<replace with original value>
PROJECT_ID=<replace with original value>
PRIVATE_KEY_ID=<replace with original value>
PRIVATE_KEY=<replace with original value>
CLIENT_EMAIL=<replace with original value>
CLIENT_ID=<replace with original value>
AUTH_URI=<replace with original value>
TOKEN_URI=<replace with original value>
AUTH_PROVIDER_X509_CERT_URL=<replace with original value>
CLIENT_X509_CERT_URL=<replace with original value>
UNIVERSE_DOMAIN=<replace with original value>
HUGGINGFACEHUB_API_TOKEN=<replace with original value>
You can get OPENAI_API_KEY
from openAI's website. Other secret keys are for the configuration of Firebase and Hugging Face.
Usage:
main.py
http://localhost:8000/docs#/
to view documentation of the API.Contributing:
Please refer to the CONTRIBUTING.md file for guidelines.
License:
This project is licensed under the MIT License.