Spaces:
Runtime error
Runtime error
File size: 350 Bytes
44f0a35 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import flask
import os
app = flask.Flask(__name__)
@app.route('/')
def index():
return '<iframe frameBorder="0" height="100%" src="{}/?__dark-theme={}" width="100%"></iframe>'.format(
os.getenv('INACCEL_URL'),
flask.request.args.get('__dark-theme', 'false'))
if __name__ == '__main__':
app.run(host='0.0.0.0', port=7860)
|