Spaces:
Running
Running
Removed minimum length as a parameter
Browse files
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 = {"
|
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()
|