farid678 commited on
Commit
0b5acf9
1 Parent(s): da37131

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import time
4
  import gradio as gr
5
 
6
  # Load a pre-trained chatbot model
7
- chatbot = pipeline('text-generation', model='gpt2-large', max_length=200)
8
 
9
  def wrap(x):
10
  return textwrap.fill(x, replace_whitespace=False, fix_sentence_endings=True)
 
4
  import gradio as gr
5
 
6
  # Load a pre-trained chatbot model
7
+ chatbot = pipeline('text-generation', model='gpt2-large')
8
 
9
  def wrap(x):
10
  return textwrap.fill(x, replace_whitespace=False, fix_sentence_endings=True)