wifix199 commited on
Commit
92f2dea
Β·
verified Β·
1 Parent(s): 07d49fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ from openai import OpenAI
5
  import gradio as gr
6
 
7
  # β€”β€”β€” Configure your OpenRouter key β€”β€”β€”
 
8
  # Assuming OPENROUTER_API_KEY is already set in the environment or Colab secrets
9
 
10
  # Retrieve the API key from Colab secrets
 
5
  import gradio as gr
6
 
7
  # β€”β€”β€” Configure your OpenRouter key β€”β€”β€”
8
+ api_key=os.getenv("OPENROUTER_API_KEY")
9
  # Assuming OPENROUTER_API_KEY is already set in the environment or Colab secrets
10
 
11
  # Retrieve the API key from Colab secrets