Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
from transformers import pipeline
|
| 2 |
import gradio as gr
|
|
|
|
| 3 |
|
| 4 |
model = "tclopess/bart_samsum"
|
| 5 |
pipe = pipeline('sentiment-analysis', model=model)
|
|
|
|
| 1 |
from transformers import pipeline
|
| 2 |
import gradio as gr
|
| 3 |
+
import torch
|
| 4 |
|
| 5 |
model = "tclopess/bart_samsum"
|
| 6 |
pipe = pipeline('sentiment-analysis', model=model)
|