Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
-
model_id = "
|
4 |
|
5 |
generator = pipeline(task="text2text-generation", model=model_id)
|
6 |
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
+
model_id = "Salesforce/bart-large-xsum-samsum"
|
4 |
|
5 |
generator = pipeline(task="text2text-generation", model=model_id)
|
6 |
|