text: from django.shortcuts import render, redirect
  from pred_app.lstm_prediction import *
  def redirect_root(request):
      return redirect('/pred_app/index')
  
  def index(request):
  	return render(request, 'pred_app/index.html') 
  
  def pred(request):
      return render(request, 'pred_app/prediction.html')
  
  def search(request, se, stock_symbol):
  	import json
  	predicted_result_df = lstm_prediction(se, stock_symbol)
  	return render(request, 'pred_app/search.html', {"predicted_result_df": predicted_result_df})
  