Spaces:
Sleeping
Sleeping
fixing torch
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ from transformers import pipeline
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
# Use a specific model and CPU
|
|
|
|
| 5 |
model = pipeline(
|
| 6 |
"summarization",
|
| 7 |
model="facebook/bart-large-cnn",
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
# Use a specific model and CPU
|
| 5 |
+
|
| 6 |
model = pipeline(
|
| 7 |
"summarization",
|
| 8 |
model="facebook/bart-large-cnn",
|