merve HF staff commited on
Commit
2403030
1 Parent(s): aad9f8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def load_model(model_name):
11
 
12
  model = load_model("gpt2-large")
13
 
14
- def infer(input_ids, max_length, temperature, top_k, top_p, num_return_sequences):
15
 
16
  output_sequences = model.generate(
17
  input_ids=input_ids,
 
11
 
12
  model = load_model("gpt2-large")
13
 
14
+ def infer(input_ids, max_length, temperature, top_k, top_p):
15
 
16
  output_sequences = model.generate(
17
  input_ids=input_ids,