saljoofri commited on
Commit
dcd3aef
1 Parent(s): 9e413f3

Removed minimum length as a parameter

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def get_completion(inputs, parameters=None):
28
  import gradio as gr
29
 
30
  def summarize(input):
31
- output = get_completion(inputs = input, parameters = {"min_length" : 128, "max_length" : 256})
32
  return output[0]['summary_text']
33
 
34
  gr.close_all()
 
28
  import gradio as gr
29
 
30
  def summarize(input):
31
+ output = get_completion(inputs = input, parameters = {"max_length" : 256})
32
  return output[0]['summary_text']
33
 
34
  gr.close_all()