Spaces:
No application file
No application file
Delete Add.py
Browse files
Add.py
DELETED
|
@@ -1,12 +0,0 @@
|
|
| 1 |
-
import gradio as gr
|
| 2 |
-
from transformers import pipeline
|
| 3 |
-
|
| 4 |
-
equal = pipeline("summariztion", model="facebook/bart-large-cnn")
|
| 5 |
-
|
| 6 |
-
def things(text):
|
| 7 |
-
return equal(text)
|
| 8 |
-
|
| 9 |
-
testing = gr.Interface(fn=things, inputs="text", outputs="text")
|
| 10 |
-
testing.launch()
|
| 11 |
-
|
| 12 |
-
# done by Juan Lastra
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|