import os import requests import json from io import BytesIO from flask import Flask, jsonify, render_template, request, send_file app = Flask(__name__) @app.route("/") def index(): # Basic HTML string html = ''' Dynamic HTML Page

Welcome to Flask

This HTML was rendered directly from a string!

''' return html if __name__ == "__main__": app.run(host="0.0.0.0", port=7860)