Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ translation_models = {
|
|
17 |
|
18 |
# Initialize summarization pipelines with specified models
|
19 |
summarization_models = {
|
20 |
-
'Scientific': "
|
21 |
'Literature': "t5-small"
|
22 |
}
|
23 |
|
@@ -127,3 +127,4 @@ iface.launch()
|
|
127 |
|
128 |
|
129 |
|
|
|
|
17 |
|
18 |
# Initialize summarization pipelines with specified models
|
19 |
summarization_models = {
|
20 |
+
'Scientific': "sshleifer/distilbart-cnn-12-6",
|
21 |
'Literature': "t5-small"
|
22 |
}
|
23 |
|
|
|
127 |
|
128 |
|
129 |
|
130 |
+
|