samjulien commited on
Commit
a884039
1 Parent(s): 9c3d6d2

Remove dotenv refs

Browse files
finance-app-tutorial/main.py CHANGED
@@ -4,12 +4,6 @@ import pandas as pd
4
  from prompts import stock_prompts, income_prompts, earnings_prompt
5
  from stock_data import download_data, download_sp500, stock_news, _one_day_data, income_statement, earnings_calls
6
  from charts import update_scatter_chart
7
- from dotenv import load_dotenv
8
- import os
9
-
10
- load_dotenv()
11
-
12
- writer.ai.init(os.getenv("WRITER_API_KEY"))
13
 
14
  # Update all data
15
  def updates(state):
 
4
  from prompts import stock_prompts, income_prompts, earnings_prompt
5
  from stock_data import download_data, download_sp500, stock_news, _one_day_data, income_statement, earnings_calls
6
  from charts import update_scatter_chart
 
 
 
 
 
 
7
 
8
  # Update all data
9
  def updates(state):
finance-app-tutorial/stock_data.py CHANGED
@@ -2,11 +2,8 @@ import pandas as pd
2
  from datetime import datetime
3
  import yfinance as yf
4
  from charts import update_bar_graph
5
- from dotenv import load_dotenv
6
  import json
7
 
8
- load_dotenv()
9
-
10
  # Download stock data and format into a DataFrame
11
  def download_data(state):
12
  df = yf.download(state["symbol"], period="max", interval="1d")
 
2
  from datetime import datetime
3
  import yfinance as yf
4
  from charts import update_bar_graph
 
5
  import json
6
 
 
 
7
  # Download stock data and format into a DataFrame
8
  def download_data(state):
9
  df = yf.download(state["symbol"], period="max", interval="1d")