Spaces:
son9john
/
Runtime error

son9john commited on
Commit
936decd
1 Parent(s): dccdf84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-medium')
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