Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from stock import *
|
| 3 |
from indices_html import *
|
| 4 |
-
from
|
|
|
|
| 5 |
from eq_html import *
|
| 6 |
import pandas as pd
|
| 7 |
|
|
@@ -67,7 +68,7 @@ def fetch_data(mode, req_type, name, date_str):
|
|
| 67 |
elif req_type == "nse_open":
|
| 68 |
return build_index_live_html(name)
|
| 69 |
elif req_type == "nse_preopen":
|
| 70 |
-
return
|
| 71 |
elif req_type == "nse_fno":
|
| 72 |
return wrap(nse_fno(name))
|
| 73 |
elif req_type == "nse_future":
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from stock import *
|
| 3 |
from indices_html import *
|
| 4 |
+
from index_live_html import *
|
| 5 |
+
from preopen_html import *
|
| 6 |
from eq_html import *
|
| 7 |
import pandas as pd
|
| 8 |
|
|
|
|
| 68 |
elif req_type == "nse_open":
|
| 69 |
return build_index_live_html(name)
|
| 70 |
elif req_type == "nse_preopen":
|
| 71 |
+
return build_preopen_html()
|
| 72 |
elif req_type == "nse_fno":
|
| 73 |
return wrap(nse_fno(name))
|
| 74 |
elif req_type == "nse_future":
|