ncardian commited on
Commit
f39e215
·
verified ·
1 Parent(s): 62cb69d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,7 +15,7 @@ import plotly.express as px
15
  import re
16
  import os
17
 
18
- GROQ_TOKEN = os.getenv("GROQ_TOKENS")
19
 
20
  st.set_page_config(layout="wide")
21
  # Custom CSS for Jupyter-like appearance
@@ -131,7 +131,7 @@ if 'df' not in st.session_state:
131
  class GroqLLM(LLM):
132
  model: str = "qwen-2.5-coder-32b"
133
  temperature: float = 0.3
134
- api_key: str = GROQ_TOKEN
135
 
136
  @property
137
  def _llm_type(self) -> str:
@@ -164,7 +164,7 @@ class GroqLLM(LLM):
164
  class GroqTextLLM(LLM):
165
  model: str = "deepseek-r1-distill-llama-70b"
166
  temperature: float = 0.7
167
- api_key: str = GROQ_TOKEN
168
 
169
  @property
170
  def _llm_type(self) -> str:
 
15
  import re
16
  import os
17
 
18
+ API_KEY = os.getenv("GROQ_TOKENS")
19
 
20
  st.set_page_config(layout="wide")
21
  # Custom CSS for Jupyter-like appearance
 
131
  class GroqLLM(LLM):
132
  model: str = "qwen-2.5-coder-32b"
133
  temperature: float = 0.3
134
+ api_key: str = API_KEY
135
 
136
  @property
137
  def _llm_type(self) -> str:
 
164
  class GroqTextLLM(LLM):
165
  model: str = "deepseek-r1-distill-llama-70b"
166
  temperature: float = 0.7
167
+ api_key: str = API_KEY
168
 
169
  @property
170
  def _llm_type(self) -> str: