Arafath10 commited on
Commit
712c491
·
verified ·
1 Parent(s): 8535481

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -1
main.py CHANGED
@@ -9,7 +9,6 @@ api_key = os.environ["OPENAI_API_KEY"]
9
 
10
  # Declare the continuous function as an async function.
11
  def streaming(userText,idf):
12
- import openai
13
  if str(idf)=="1":
14
  openaikey = api_key
15
  openai.api_key = openaikey
 
9
 
10
  # Declare the continuous function as an async function.
11
  def streaming(userText,idf):
 
12
  if str(idf)=="1":
13
  openaikey = api_key
14
  openai.api_key = openaikey