Spaces:
Sleeping
Sleeping
Initial Version
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers_js_py import pipeline
|
3 |
|
4 |
-
pipe =
|
5 |
|
6 |
|
7 |
async def process(text):
|
|
|
1 |
import gradio as gr
|
2 |
from transformers_js_py import pipeline
|
3 |
|
4 |
+
pipe = pipeline("summarization", model="facebook/bart-large-cnn")
|
5 |
|
6 |
|
7 |
async def process(text):
|