Spaces:
Runtime error
Runtime error
janduplessis886
commited on
Commit
•
d7eb730
1
Parent(s):
d7fdc30
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ import gradio as gr
|
|
3 |
|
4 |
get_completion = pipeline("summarization", model="shleifer/distilbart-cnn-12-6")
|
5 |
|
6 |
-
|
7 |
def summarize(input):
|
8 |
output = get_completion(input)
|
9 |
return output[0]['summary_text']
|
|
|
3 |
|
4 |
get_completion = pipeline("summarization", model="shleifer/distilbart-cnn-12-6")
|
5 |
|
|
|
6 |
def summarize(input):
|
7 |
output = get_completion(input)
|
8 |
return output[0]['summary_text']
|