Yaroslav1234 commited on
Commit
ef0b3ef
·
1 Parent(s): e9a3480

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -6,13 +6,12 @@ import json
6
  import requests
7
  import openai
8
 
9
- # OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
10
- # openai.api_key = OPENAI_API_KEY
11
- openai.api_key = "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"
12
 
13
  MODEL = "gpt-3.5-turbo"
14
  DISABLED = False
15
- NUM_THREADS = 5
16
 
17
  def exception_handler(exception_type, exception, traceback):
18
  print("%s: %s" % (exception_type.__name__, exception))
 
6
  import requests
7
  import openai
8
 
9
+ OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
10
+ openai.api_key = OPENAI_API_KEY
 
11
 
12
  MODEL = "gpt-3.5-turbo"
13
  DISABLED = False
14
+ NUM_THREADS = 8
15
 
16
  def exception_handler(exception_type, exception, traceback):
17
  print("%s: %s" % (exception_type.__name__, exception))