Create app.py
Browse files
app.py
CHANGED
@@ -1,24 +1,17 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
summary = data[0]["summary_text"]
|
19 |
-
|
20 |
-
# Display the summary
|
21 |
-
st.subheader("Summary:")
|
22 |
-
st.write(summary)
|
23 |
-
else:
|
24 |
-
st.warning("Please enter some text to summarize.")
|
|
|
1 |
+
certifi==2023.7.22
|
2 |
+
charset-normalizer==3.3.2
|
3 |
+
filelock==3.13.1
|
4 |
+
fsspec==2023.10.0
|
5 |
+
huggingface-hub==0.17.3
|
6 |
+
idna==3.4
|
7 |
+
numpy==1.26.1
|
8 |
+
packaging==23.2
|
9 |
+
PyYAML==6.0.1
|
10 |
+
regex==2023.10.3
|
11 |
+
requests==2.31.0
|
12 |
+
safetensors==0.4.0
|
13 |
+
tokenizers==0.14.1
|
14 |
+
tqdm==4.66.1
|
15 |
+
transformers==4.35.0
|
16 |
+
typing_extensions==4.8.0
|
17 |
+
urllib3==2.0.7
|
|
|
|
|
|
|
|
|
|
|
|
|
|