abhishekt commited on
Commit
b0420d3
·
1 Parent(s): 9bfcf3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,8 +1,9 @@
1
  import openai
 
2
  import gradio as gr
3
 
4
  # Use the openai API key
5
- openai.api_key = "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"
6
  model_engine = "text-davinci-003"
7
 
8
  # Function to generate website content based on product name and description
 
1
  import openai
2
+ import os
3
  import gradio as gr
4
 
5
  # Use the openai API key
6
+ openai.api_key = os.environ["API_TOKEN"]
7
  model_engine = "text-davinci-003"
8
 
9
  # Function to generate website content based on product name and description