eshan6704 commited on
Commit
1b82a22
·
verified ·
1 Parent(s): 3432fcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
  from stock import *
3
  from indices_html import *
 
4
  from eq_html import *
5
  import pandas as pd
6
 
@@ -64,7 +65,7 @@ def fetch_data(mode, req_type, name, date_str):
64
  return build_indices_html()
65
 
66
  elif req_type == "nse_open":
67
- return wrap(nse_open(name))
68
  elif req_type == "nse_preopen":
69
  return wrap(nse_preopen(name))
70
  elif req_type == "nse_fno":
 
1
  import gradio as gr
2
  from stock import *
3
  from indices_html import *
4
+ from build_index_live_html import *
5
  from eq_html import *
6
  import pandas as pd
7
 
 
65
  return build_indices_html()
66
 
67
  elif req_type == "nse_open":
68
+ return build_index_live_html(name)
69
  elif req_type == "nse_preopen":
70
  return wrap(nse_preopen(name))
71
  elif req_type == "nse_fno":