Method314 commited on
Commit
e38ffbc
·
verified ·
1 Parent(s): 47c088f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -20,15 +20,10 @@ import openai
20
 
21
  warnings.filterwarnings('ignore')
22
 
23
- # Initialize the OpenAI client
24
- OPENAI_API_KEY = st.secrets["OPENAI_API_KEY"]
25
  openai.api_key = OPENAI_API_KEY
26
-
27
  # Alpha Vantage API key
28
- ALPHA_VANTAGE_API_KEY = st.secrets["ALPHA_VANTAGE_API_KEY"]
29
-
30
- # GPT Assistant ID
31
- ASSISTANT_ID = st.secrets["ASSISTANT_ID"]
32
 
33
  def adjust_color_intensity(base_color, percentage):
34
  r = int(base_color[1:3], 16) / 255.0
 
20
 
21
  warnings.filterwarnings('ignore')
22
 
23
+ OPENAI_API_KEY = "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" # Replace with your actual OpenAI API key
 
24
  openai.api_key = OPENAI_API_KEY
 
25
  # Alpha Vantage API key
26
+ ALPHA_VANTAGE_API_KEY = "JK0DVDNTEYBTBP5L"
 
 
 
27
 
28
  def adjust_color_intensity(base_color, percentage):
29
  r = int(base_color[1:3], 16) / 255.0