Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from transformers import pipeline
|
2 |
|
3 |
# Load the pre-trained IndicBART model for summarization
|
4 |
-
summarizer = pipeline("summarization", model="
|
5 |
|
6 |
# Example Hindi conversation
|
7 |
conversation = """
|
|
|
1 |
from transformers import pipeline
|
2 |
|
3 |
# Load the pre-trained IndicBART model for summarization
|
4 |
+
summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
|
5 |
|
6 |
# Example Hindi conversation
|
7 |
conversation = """
|