ArcheanVision commited on
Commit
df6d484
·
verified ·
1 Parent(s): f01a54b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -20,7 +20,9 @@ import streamlit as st
20
  import pandas as pd
21
  import plotly.express as px
22
  from archeanvision import ArcheanVisionAPI
23
-
 
 
24
  # ---------------------------- #
25
  # AUTO-REFRESH #
26
  # ---------------------------- #
@@ -37,7 +39,7 @@ LOGO_IMAGE_URL = "https://archeanvision.com/assets/archeanvision.png"
37
  st.sidebar.image(LOGO_IMAGE_URL, use_container_width=True, caption="ArcheanVision")
38
 
39
  # Replace with your API key
40
- API_KEY = "0be4b0d76de6cf65b81e0a2de91b137f432e5a66e6d0c622d73c4b83e613e948"
41
 
42
  def get_selected_market(market_list):
43
  """
 
20
  import pandas as pd
21
  import plotly.express as px
22
  from archeanvision import ArcheanVisionAPI
23
+ import os
24
+ from dotenv import load_dotenv
25
+ load_dotenv()
26
  # ---------------------------- #
27
  # AUTO-REFRESH #
28
  # ---------------------------- #
 
39
  st.sidebar.image(LOGO_IMAGE_URL, use_container_width=True, caption="ArcheanVision")
40
 
41
  # Replace with your API key
42
+ API_KEY = os.getenv("API_KEY")
43
 
44
  def get_selected_market(market_list):
45
  """