Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def update_on_mode(mode):
|
|
| 51 |
)
|
| 52 |
elif mode == "index":
|
| 53 |
return (
|
| 54 |
-
gr.update(choices=INDEX_REQ, value="
|
| 55 |
gr.update(value="NIFTY 50", placeholder="Enter index name or leave blank for today bhavcopy")
|
| 56 |
)
|
| 57 |
return gr.update(visible=False), gr.update(value="")
|
|
|
|
| 51 |
)
|
| 52 |
elif mode == "index":
|
| 53 |
return (
|
| 54 |
+
gr.update(choices=INDEX_REQ, value="indices"),
|
| 55 |
gr.update(value="NIFTY 50", placeholder="Enter index name or leave blank for today bhavcopy")
|
| 56 |
)
|
| 57 |
return gr.update(visible=False), gr.update(value="")
|