Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ for item in ner_results:
|
|
| 25 |
|
| 26 |
#Using Facebook’s pre-trained BART Large which was fine-tuned on CNN Daily mail.
|
| 27 |
|
| 28 |
-
from transformers import pipeline
|
| 29 |
|
| 30 |
model_TS= "facebook/bart-large-cnn"
|
| 31 |
|
|
@@ -50,8 +50,8 @@ st.write(results[0]["summary_text"])
|
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
-
|
| 54 |
-
|
| 55 |
|
| 56 |
-
|
| 57 |
-
|
|
|
|
| 25 |
|
| 26 |
#Using Facebook’s pre-trained BART Large which was fine-tuned on CNN Daily mail.
|
| 27 |
|
| 28 |
+
# from transformers import pipeline
|
| 29 |
|
| 30 |
model_TS= "facebook/bart-large-cnn"
|
| 31 |
|
|
|
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
+
x1 = st.slider('Select a value')
|
| 54 |
+
st.write(x1, 'squared is', x1 * x1)
|
| 55 |
|
| 56 |
+
x2 = st.slider('Select a second value')
|
| 57 |
+
st.write(x2, 'squared is', x2 * x2)
|