Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,9 @@ MODEL = "gpt-3.5-turbo"
|
|
8 |
API_URL = os.getenv("API_URL")
|
9 |
DISABLED = os.getenv("DISABLED") == 'True'
|
10 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
|
|
|
|
|
|
11 |
|
12 |
def exception_handler(exception_type, exception, traceback):
|
13 |
print("%s: %s" % (exception_type.__name__, exception))
|
|
|
8 |
API_URL = os.getenv("API_URL")
|
9 |
DISABLED = os.getenv("DISABLED") == 'True'
|
10 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
11 |
+
NUM_THREADS = int(os.getenv("NUM_THREADS"))
|
12 |
+
|
13 |
+
print (NUM_THREADS)
|
14 |
|
15 |
def exception_handler(exception_type, exception, traceback):
|
16 |
print("%s: %s" % (exception_type.__name__, exception))
|