Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def fetch_data(mode, req_type, name):
|
|
| 15 |
if mode=="index":
|
| 16 |
return indices()
|
| 17 |
|
| 18 |
-
elif mode=="stock":
|
| 19 |
|
| 20 |
if req_type == "daily":
|
| 21 |
return fetch_daily(symbol)
|
|
|
|
| 15 |
if mode=="index":
|
| 16 |
return indices()
|
| 17 |
|
| 18 |
+
elif mode=="stock":
|
| 19 |
|
| 20 |
if req_type == "daily":
|
| 21 |
return fetch_daily(symbol)
|