abhishekt commited on
Commit
95541a6
1 Parent(s): 75fe915

api secret added

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import openai
2
  import gradio
 
3
 
4
- openai.api_key = "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"
5
 
6
  def generate_product_name(prompt):
7
  model_engine = "text-davinci-003"
 
1
  import openai
2
  import gradio
3
+ import os
4
 
5
+ openai.api_key = os.environ["api"]
6
 
7
  def generate_product_name(prompt):
8
  model_engine = "text-davinci-003"