Harika22 commited on
Commit
6c26805
·
verified ·
1 Parent(s): 023eb3e

Update pages/5_Pre-procesing_of_text.py

Browse files
Files changed (1) hide show
  1. pages/5_Pre-procesing_of_text.py +57 -0
pages/5_Pre-procesing_of_text.py CHANGED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ st.markdown(
4
+ """
5
+ <style>
6
+ body {
7
+ background-color: #f9f9f9; /* Light gray background */
8
+ font-family: 'Arial', sans-serif;
9
+ }
10
+ @keyframes fadeIn {
11
+ 0% { opacity: 0; transform: translateY(-20px); }
12
+ 100% { opacity: 1; transform: translateY(0); }
13
+ }
14
+ .title {
15
+ text-align: center;
16
+ color: #2c3e50; /* Deep gray-blue */
17
+ font-size: 3rem;
18
+ font-weight: bold;
19
+ animation: fadeIn 1s ease-in-out;
20
+ }
21
+ .caption {
22
+ text-align: center;
23
+ font-style: italic;
24
+ font-size: 1.2rem;
25
+ color: #7f8c8d; /* Soft gray */
26
+ animation: fadeIn 1.5s ease-in-out;
27
+ }
28
+ .section {
29
+ font-size: 1.1rem;
30
+ text-align: justify;
31
+ line-height: 1.8;
32
+ color: #34495e; /* Muted gray */
33
+ background: #ffffff; /* White card-style background */
34
+ padding: 20px;
35
+ border-radius: 10px;
36
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
37
+ animation: fadeIn 2s ease-in-out;
38
+ margin: 10px 0;
39
+ }
40
+ .image-container {
41
+ text-align: center;
42
+ margin: 20px 0;
43
+ animation: fadeIn 2.5s ease-in-out;
44
+ }
45
+ .image-container img {
46
+ border-radius: 15px;
47
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
48
+ transition: transform 0.3s ease-in-out;
49
+ }
50
+ .image-container img:hover {
51
+ transform: scale(1.05); /* Subtle zoom effect */
52
+ }
53
+ </style>
54
+ """,
55
+ unsafe_allow_html=True,
56
+ )
57
+