Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,8 @@ from gradio.mix import Parallel, Series
|
|
5 |
io1 = gr.Interface.load('huggingface/sshleifer/distilbart-cnn-12-6')
|
6 |
io2 = gr.Interface.load("huggingface/facebook/bart-large-cnn")
|
7 |
#io3 = gr.Interface.load("huggingface/google/pegasus-xsum")
|
8 |
-
io3 = gr.Interface.load("huggingface/emilyalsentzer/Bio_Discharge_Summary_BERT")
|
|
|
9 |
|
10 |
desc = "Summary NLP Model Tour 2022. Length of text and model size influence response time. Often but not always there is a trade off with accuracy for domain specific NLP and NLU."
|
11 |
|
|
|
5 |
io1 = gr.Interface.load('huggingface/sshleifer/distilbart-cnn-12-6')
|
6 |
io2 = gr.Interface.load("huggingface/facebook/bart-large-cnn")
|
7 |
#io3 = gr.Interface.load("huggingface/google/pegasus-xsum")
|
8 |
+
#io3 = gr.Interface.load("huggingface/emilyalsentzer/Bio_Discharge_Summary_BERT")
|
9 |
+
io3 = gr.Interface.load("huggingface/google/pegasus-pubmed")
|
10 |
|
11 |
desc = "Summary NLP Model Tour 2022. Length of text and model size influence response time. Often but not always there is a trade off with accuracy for domain specific NLP and NLU."
|
12 |
|