ilsa15 commited on
Commit
3fabfa9
·
verified ·
1 Parent(s): e0317d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ import gradio as gr
4
  import os
5
 
6
  # Use Hugging Face secrets (you'll set this on HF later)
7
- openai.api_key = os.environ.get("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")
 
8
  openai.api_base = "https://api.groq.com/openai/v1"
9
 
10
  def tutor_chatbot(subject, question, chat_history=[]):
 
4
  import os
5
 
6
  # Use Hugging Face secrets (you'll set this on HF later)
7
+ openai.api_key = os.environ.get("GROQ_API_KEY")
8
+
9
  openai.api_base = "https://api.groq.com/openai/v1"
10
 
11
  def tutor_chatbot(subject, question, chat_history=[]):