Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,13 +70,13 @@ def update_on_mode(mode):
|
|
| 70 |
return (
|
| 71 |
gr.update(choices=STOCK_REQ, value="info"),
|
| 72 |
gr.update(value="ITC"),
|
| 73 |
-
gr.update(value=
|
| 74 |
)
|
| 75 |
elif mode == "index":
|
| 76 |
return (
|
| 77 |
gr.update(choices=INDEX_REQ, value="indices"),
|
| 78 |
gr.update(value="NIFTY 50"),
|
| 79 |
-
gr.update(value=
|
| 80 |
)
|
| 81 |
return (
|
| 82 |
gr.update(choices=[], value=""),
|
|
|
|
| 70 |
return (
|
| 71 |
gr.update(choices=STOCK_REQ, value="info"),
|
| 72 |
gr.update(value="ITC"),
|
| 73 |
+
gr.update(value=today_str())
|
| 74 |
)
|
| 75 |
elif mode == "index":
|
| 76 |
return (
|
| 77 |
gr.update(choices=INDEX_REQ, value="indices"),
|
| 78 |
gr.update(value="NIFTY 50"),
|
| 79 |
+
gr.update(value=today_str())
|
| 80 |
)
|
| 81 |
return (
|
| 82 |
gr.update(choices=[], value=""),
|