Skym616 commited on
Commit
a91f341
·
1 Parent(s): 0404c73
__pycache__/layout.cpython-310.pyc CHANGED
Binary files a/__pycache__/layout.cpython-310.pyc and b/__pycache__/layout.cpython-310.pyc differ
 
__pycache__/styles.cpython-310.pyc CHANGED
Binary files a/__pycache__/styles.cpython-310.pyc and b/__pycache__/styles.cpython-310.pyc differ
 
app.py CHANGED
@@ -9,7 +9,7 @@ from styles import inject_particles_js, inject_bootstrap_and_custom_css
9
  # Configuration de la page
10
  st.set_page_config(
11
  page_title="Application Multitâche",
12
- page_icon=":robot_face:",
13
  layout="wide",
14
  initial_sidebar_state="auto",
15
  )
@@ -61,7 +61,6 @@ if uploaded_file and translation:
61
  <div class="card-body">
62
  <h2 class="gradient-text"> Resultat de la prédiction </h2>
63
  <p class="lead"> {summary} </p>
64
- <p class="lead"> {translation} </p
65
  </div>
66
  </div>
67
  """,
 
9
  # Configuration de la page
10
  st.set_page_config(
11
  page_title="Application Multitâche",
12
+ page_icon=":brain:",
13
  layout="wide",
14
  initial_sidebar_state="auto",
15
  )
 
61
  <div class="card-body">
62
  <h2 class="gradient-text"> Resultat de la prédiction </h2>
63
  <p class="lead"> {summary} </p>
 
64
  </div>
65
  </div>
66
  """,
styles.py CHANGED
@@ -63,6 +63,15 @@ def inject_bootstrap_and_custom_css():
63
  color: #ffffff !important;
64
  background-color: #0c1926 !important;
65
  }
 
 
 
 
 
 
 
 
 
66
  .gradient-text {
67
  background-color: red;
68
  background-image: linear-gradient(45deg, #f3ec78, #af4261);
 
63
  color: #ffffff !important;
64
  background-color: #0c1926 !important;
65
  }
66
+ .stButton>button{
67
+ background: linear-gradient(45deg, #f3ec78, #af4261) !important;
68
+ color: #0c1926 !important;
69
+ border: none;
70
+ padding: 0.5rem 1rem;
71
+ border-radius: 0.25rem;
72
+ font-size: 1rem;
73
+ font-weight: 600;
74
+ }
75
  .gradient-text {
76
  background-color: red;
77
  background-image: linear-gradient(45deg, #f3ec78, #af4261);