ManueleVeggi / w-genai

Prototype of a web app for Diffusion based GenAI services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask tutorial for Python projects web deployment

Prototype of a web app for Diffusion based GenAI services

Python Flask HTML HuggingFace

Preview

Instructions for the correct use of Terminal

Creating the Virtual Environment

To correctly run, the repository needs to be run in a virtual environment and installing in it the flask library

  1. python3 -m venv env
  2. source env/bin/activate
  3. pip install flask

Run the Flask app

Considering app.py:

  1. export FLASK_APP=app
  2. export FLASK_ENV=development
  3. flask run

Tutorials

  • Dyouri, A. (2023) «How To Make a Web Application Using Flask in Python 3», Digital Ocean, link
  • Dyouri, A. (2023) «How To Use Web Forms in a Flask Application», Digital Ocean, link

About

Prototype of a web app for Diffusion based GenAI services

License:MIT License


Languages

Language:Jupyter Notebook 99.7%Language:HTML 0.2%Language:Python 0.1%Language:CSS 0.0%