eshan6704 commited on
Commit
33a96eb
·
verified ·
1 Parent(s): 27aed0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="nse_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="")
 
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="")