Spaces:
Sleeping
Sleeping
Hellisotherpeople
commited on
Commit
·
50f543c
1
Parent(s):
eab6a96
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ elif task_done == "Sentiment Analysis":
|
|
88 |
elif task_done == "Translation":
|
89 |
model_name = form.text_area("Enter the name of the pre-trained model from transformers that we are using for Translation", value = "Helsinki-NLP/opus-mt-en-es")
|
90 |
elif task_done == "Summarization":
|
91 |
-
model_name = form.text_area("Enter the name of the pre-trained model from transformers that we are using for Translation", value = "sshleifer/distilbart-xsum-12-
|
92 |
else:
|
93 |
model_name = form.text_area("Enter the name of the pre-trained model from transformers that we are using for Question Answering", value = "deepset/roberta-base-squad2")
|
94 |
|
|
|
88 |
elif task_done == "Translation":
|
89 |
model_name = form.text_area("Enter the name of the pre-trained model from transformers that we are using for Translation", value = "Helsinki-NLP/opus-mt-en-es")
|
90 |
elif task_done == "Summarization":
|
91 |
+
model_name = form.text_area("Enter the name of the pre-trained model from transformers that we are using for Translation", value = "sshleifer/distilbart-xsum-12-1")
|
92 |
else:
|
93 |
model_name = form.text_area("Enter the name of the pre-trained model from transformers that we are using for Question Answering", value = "deepset/roberta-base-squad2")
|
94 |
|