Update app.py
Browse files
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 = "
|
| 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 |
"""
|