added view variant details to app.py