Skip to content

Sumalyo/RNN-API-Endpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNN API Endpoint

This is a simple python webapp written in FastAPI which provides a web based interface to a tensorflow based NLP engine running on the localhost. The objective here is to generate a random sentence or a paragrapgh starting with a word given by the user which makes some sense. It has no storage or DB of sentences, thus generating real time data with AI (RNN baased model), running with tensorflow. The design uses css from online CDN systems. It uses JQuery ajax for its requests.

Installation

Use pip to install (recommended in a venv) pip install -r requirements.txt

Running

Run this from a venv on the terminal

uvicorn main:app Then go to http://127.0.0.1:8000/ and enter a word (of any length) in the form and hit enter

Screenshots

From http://127.0.0.1:8000/ The UI

About

A FastAPI based webapp for a NLP Engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published