import os

from flask import render_template
from flask import Flask
app = Flask(__name__)

import requests

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

@app.route('/actors/')
def actor_mainpage():
    return 'Actor mainpage'

@app.route('/other-page/')
def other_page():
    return 'Here from /other-page/'

@@ -176,160 +176,4 @@
 l')%0A
-%0A@app.route('/actors/')%0Adef actor_mainpage():%0A    return 'Actor mainpage'%0A%0A@app.route('/other-page/')%0Adef other_page():%0A    return 'Here from /other-page/'%0A

remove unused resource