Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import spaces
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
model_name = 'Karzan/bart-summarization'
|
6 |
summarizer = pipeline("summarization", model=model_name,device='cuda')
|
7 |
|
8 |
@spaces.GPU(duration=120)
|
|
|
2 |
import spaces
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
model_name = 'Karzan/bart-ckb-summarization'
|
6 |
summarizer = pipeline("summarization", model=model_name,device='cuda')
|
7 |
|
8 |
@spaces.GPU(duration=120)
|