hf-dongpyo commited on
Commit
aa05842
·
1 Parent(s): 92e47b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ gpt2_pipe = pipeline('text-generation', model = 'distilgpt2')
5
  set_seed(42)
6
 
7
  def generate(starting_text):
8
- response = gpt2_pipe(starting_text, max_length = 20, num_return_sequence = 5)
9
 
10
  return response
11
 
 
5
  set_seed(42)
6
 
7
  def generate(starting_text):
8
+ response = gpt2_pipe(starting_text, max_length = 20, num_return_sequences = 5)
9
 
10
  return response
11