/ficbot-web

Flask-based interface for Ficbot

Primary LanguageHTMLBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

anime An Anime character generator anime


An AI-powered Fan Fiction Writing Assistant.

Ficbot is a machine learning-based system that provides various tools to make a good starting point for an aspiring writer when they need a character, but don't know where to start.

Here you will find the source code for my Flask-based web client for the main application. You can find out more about the main project in this repository, and here - about the dataset.

Features

  • Image -> Name generator

Planned features

  • Name generators (from Bio, Image + Bio)
  • Bio generators (from Name, Image)
  • Image generators (from nothing, Name, Bio)
  • Anime filter (to turn yourself into OC!)
  • Complete OC generator (Nothing -> Name, Bio, Image) :)

Installation

I. Create and activate a virtual environment.

  1. Windows (w/o WSL)
  2. Linux (from "Step 1. Install Python") / Windows (w/WSL)

II. Install project requirements from requirements.txt

pip3 install -r requirements.txt

Launching the server

Linux

In a virtual environment and in a project folder:

export FLASK_ENV=development
export FLASK_APP=ficbotweb
flask run

Windows

In a virtual environment and in a project folder:

set FLASK_ENV=development
set FLASK_APP=ficbotweb
flask run

Go to the address in the terminal (i.e. http://127.0.0.1:5000/) and have fun!