from flask import Flask, render_template, request
import hospital
import urllib3.request, json 
import requests

app = Flask(__name__)

@app.route('/')
def index():
    return render_template('main.html')

with open("url.txt", "r") as f:
    url = f.read()

@app.route('/', methods=['POST'])
def form():
    text = request.form['text']
    ans = hospital.predict(url, text)
    return render_template('main.html', ans=ans)

if __name__ == "__main__":
    app.run(host='127.0.0.1', port='5000', debug=True)
6d5e17008520492da791de53cb039f37ac696eab
<mask token>


@app.route('/')
def index():
    return render_template('main.html')


<mask token>

<mask token>


@app.route('/')
def index():
    return render_template('main.html')


<mask token>


@app.route('/', methods=['POST'])
def form():
    text = request.form['text']
    ans = hospital.predict(url, text)
    return render_template('main.html', ans=ans)


<mask token>

<mask token>
app = Flask(__name__)


@app.route('/')
def index():
    return render_template('main.html')


with open('url.txt', 'r') as f:
    url = f.read()


@app.route('/', methods=['POST'])
def form():
    text = request.form['text']
    ans = hospital.predict(url, text)
    return render_template('main.html', ans=ans)


if __name__ == '__main__':
    app.run(host='127.0.0.1', port='5000', debug=True)

from flask import Flask, render_template, request
import hospital
import urllib3.request, json
import requests
app = Flask(__name__)


@app.route('/')
def index():
    return render_template('main.html')


with open('url.txt', 'r') as f:
    url = f.read()


@app.route('/', methods=['POST'])
def form():
    text = request.form['text']
    ans = hospital.predict(url, text)
    return render_template('main.html', ans=ans)


if __name__ == '__main__':
    app.run(host='127.0.0.1', port='5000', debug=True)

from flask import Flask, render_template, request
import hospital
import urllib3.request, json 
import requests

app = Flask(__name__)

@app.route('/')
def index():
    return render_template('main.html')

with open("url.txt", "r") as f:
    url = f.read()

@app.route('/', methods=['POST'])
def form():
    text = request.form['text']
    ans = hospital.predict(url, text)
    return render_template('main.html', ans=ans)

if __name__ == "__main__":
    app.run(host='127.0.0.1', port='5000', debug=True)