mgokg commited on
Commit
c1bc211
·
verified ·
1 Parent(s): 820f7c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ __version__ = "0.0.3"
68
  class GeminiConfig:
69
  """Configuration settings for Gemini API."""
70
  def __init__(self):
71
- self.api_key = os.getenv(KEY_NAME)
72
  self.host = "generativelanguage.googleapis.com"
73
  self.model = "models/gemini-2.0-flash-exp"
74
  self.ws_url = f"wss://{self.host}/ws/google.ai.generativelanguage.v1alpha.GenerativeService.BidiGenerateContent?key={self.api_key}"
 
68
  class GeminiConfig:
69
  """Configuration settings for Gemini API."""
70
  def __init__(self):
71
+ self.api_key = os.environ.get(KEY_NAME)
72
  self.host = "generativelanguage.googleapis.com"
73
  self.model = "models/gemini-2.0-flash-exp"
74
  self.ws_url = f"wss://{self.host}/ws/google.ai.generativelanguage.v1alpha.GenerativeService.BidiGenerateContent?key={self.api_key}"