Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
### STREAMLIT APP ####
|
2 |
import streamlit as st
|
3 |
from transformers import BertTokenizer, EncoderDecoderModel, EncoderDecoderConfig
|
@@ -55,3 +102,4 @@ if text and len(text) > 0:
|
|
55 |
|
56 |
summary_text = capitalize_sentences(summary_text)
|
57 |
st.info(summary_text)
|
|
|
|
1 |
+
Hugging Face's logo
|
2 |
+
Hugging Face
|
3 |
+
Search models, datasets, users...
|
4 |
+
Models
|
5 |
+
Datasets
|
6 |
+
Spaces
|
7 |
+
Posts
|
8 |
+
Docs
|
9 |
+
Solutions
|
10 |
+
Pricing
|
11 |
+
|
12 |
+
|
13 |
+
|
14 |
+
Spaces:
|
15 |
+
|
16 |
+
ardavey
|
17 |
+
/
|
18 |
+
ber2gpt-indosum-app
|
19 |
+
|
20 |
+
|
21 |
+
like
|
22 |
+
0
|
23 |
+
|
24 |
+
Logs
|
25 |
+
App
|
26 |
+
Files
|
27 |
+
Community
|
28 |
+
Settings
|
29 |
+
ber2gpt-indosum-app
|
30 |
+
/
|
31 |
+
app.py
|
32 |
+
|
33 |
+
ardavey's picture
|
34 |
+
ardavey
|
35 |
+
Update app.py
|
36 |
+
5f6d6ed
|
37 |
+
verified
|
38 |
+
1 minute ago
|
39 |
+
raw
|
40 |
+
|
41 |
+
Copy download link
|
42 |
+
history
|
43 |
+
blame
|
44 |
+
edit
|
45 |
+
delete
|
46 |
+
|
47 |
+
2.12 kB
|
48 |
### STREAMLIT APP ####
|
49 |
import streamlit as st
|
50 |
from transformers import BertTokenizer, EncoderDecoderModel, EncoderDecoderConfig
|
|
|
102 |
|
103 |
summary_text = capitalize_sentences(summary_text)
|
104 |
st.info(summary_text)
|
105 |
+
|