eshan6704 commited on
Commit
a7cf44e
·
verified ·
1 Parent(s): 8dfb875

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=common.yesterday_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=common.yesterday_str())
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=""),