Data Scientist | Machine Learning Engineer
Website: https://imsanjoykb.github.io/
ResearchGate: https://www.researchgate.net/profile/imsanjoykb
Linkedin: https://www.linkedin.com/in/imsanjoykb/
Email: sanjoy.eee32@gmail.com
The goal of this project is to detect the topic of the text and write a proper comment for the text , store the generate comment in database and shows it with rest API.
Text generation is an application of language modeling, and a subfield of natural language processing. It utilizes techniques in artificial intelligence to automatically generate natural language text, which fits in a certain communication context.
Text generation can be used to write stories, poems, emails, news articles, and more. It is also useful for machine translation.
Install the virtualenv package
pip install virtualenv
Create the virtual environment
virtualenv venv
Activate the virtual environment
mypthon\Scripts\activate
Install Dependencies
pip3 install -r requirements.txt
Run the text generation code which redirect userinterface of Gradio and the input of the text generate datafile
python Text_Generation.py
After this, run main.py file which scale the data and connect with database to store data at DB
python main.py
Then run app.py file which shows all data and also Gradio
python app.py
Gradio Interface for text generation:
Shows Generated output:
Store Data at Database:
Shows generated data with timestamp in GUI:
@misc{AI Text Generation,
author = {Sanjoy Biswas},
title = {Detect the topic of the text and write a proper comment for the text, store the generate comment in database and shows it with rest API.},
year = {2021},
publisher = {GitHub},
journal = {GitHub repository},
url="https://github.com/imsanjoykb/Text-Generation",
}