Is there any solution that can show SVG without HTML tags using Flask? [duplicate]

Solution
@app.route('/')
def index():
    svg = '''
    
        
        
        ZERO
        JUDGE
        
        
        
    
    '''
    return app.response_class(svg, mimetype='image/svg+xml')
@app.route('/')
def index():
    return app.response_class(
        render_template('img.svg'),
        mimetype='image/svg+xml'
    )