Spaces:
Build error
Build error
Chaitanya01
commited on
Commit
•
9c7c30a
1
Parent(s):
b8b10f7
Update app.py
Browse files
app.py
CHANGED
@@ -451,7 +451,7 @@ if "trade_api" not in st.session_state:
|
|
451 |
st.session_state.trade_api = REST(API_KEY, SECRET_KEY, API_URL)
|
452 |
if "stocks" not in st.session_state:
|
453 |
# If stocks are not present then from companies.csv file add them
|
454 |
-
with open('
|
455 |
companies = f.read().splitlines()
|
456 |
symbols = []
|
457 |
for company in companies:
|
|
|
451 |
st.session_state.trade_api = REST(API_KEY, SECRET_KEY, API_URL)
|
452 |
if "stocks" not in st.session_state:
|
453 |
# If stocks are not present then from companies.csv file add them
|
454 |
+
with open('companies.csv') as f:
|
455 |
companies = f.read().splitlines()
|
456 |
symbols = []
|
457 |
for company in companies:
|