NPG commited on
Commit
ba5a538
1 Parent(s): 6d09be5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def generate(input_text, minimum_length, maximum_length, beam_amount, temperatur
37
  title = "Flan-T5-XL Inference on GRADIO GUI"
38
 
39
  def inference(input_text, minimum_length, maximum_length, beam_amount, temperature, length_penalty, repetition_penalty):
40
- return generate(input_text, minimum_length, maximum_length, beam_amount, temp, len_penalty, rep_penalty)
41
 
42
  io = gr.Interface(
43
  fn=inference,
 
37
  title = "Flan-T5-XL Inference on GRADIO GUI"
38
 
39
  def inference(input_text, minimum_length, maximum_length, beam_amount, temperature, length_penalty, repetition_penalty):
40
+ return generate(input_text, minimum_length, maximum_length, beam_amount, temperature, length_penalty, repetition_penalty)
41
 
42
  io = gr.Interface(
43
  fn=inference,