Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ from gradio import Markdown
|
|
19 |
import threading
|
20 |
|
21 |
# Define the tokenizer and model
|
22 |
-
tokenizer = GPT2Tokenizer.from_pretrained('gpt2
|
23 |
model = openai.api_key = os.environ["OPENAI_API_KEY"]
|
24 |
|
25 |
# Define the initial message and messages list
|
|
|
19 |
import threading
|
20 |
|
21 |
# Define the tokenizer and model
|
22 |
+
tokenizer = GPT2Tokenizer.from_pretrained('gpt2')
|
23 |
model = openai.api_key = os.environ["OPENAI_API_KEY"]
|
24 |
|
25 |
# Define the initial message and messages list
|