Errolmking commited on
Commit
a00e7a6
·
verified ·
1 Parent(s): a9feb59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -21,6 +21,7 @@ from queue import Queue, Empty
21
  from threading import Thread
22
  import gradio as gr
23
 
 
24
  MODEL = "gpt-3.5-turbo-16k"
25
 
26
  # Defined a QueueCallback, which takes as a Queue object during initialization. Each new token is pushed to the queue.
 
21
  from threading import Thread
22
  import gradio as gr
23
 
24
+ openai.api_key = os.environ["OPENAI_API_KEY"]
25
  MODEL = "gpt-3.5-turbo-16k"
26
 
27
  # Defined a QueueCallback, which takes as a Queue object during initialization. Each new token is pushed to the queue.