Update app.py
Browse files
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
|
| 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":
|