agentsvalley commited on
Commit
32d16db
·
verified ·
1 Parent(s): a3d0df3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -12,7 +12,7 @@ st.set_page_config(page_title="Animal Species Identifier🐾", layout="wide", pa
12
  st.markdown(
13
  """
14
  <div style="text-align: center; padding: 10px;">
15
- <h1 style="color: #2D6A4F; font-size: 50px;">Animal Species Identifier 🌸</h1>
16
  <p style="color: #40916C; font-size: 20px;">Snap it, upload it, and identify!</p>
17
  </div>
18
  """,
@@ -20,8 +20,6 @@ st.markdown(
20
  )
21
 
22
 
23
- #st.title("Animal Species Classifier 🐾")
24
-
25
  file_name = st.file_uploader("Upload an animal image 📸")
26
 
27
  add_vertical_space(1)
@@ -38,7 +36,7 @@ if file_name is not None:
38
  )
39
 
40
  predictions = animal_pipeline(image)
41
-
42
 
43
  for p in predictions[:3]:
44
  species = p['label'].lower()
@@ -49,7 +47,7 @@ st.markdown(
49
  """
50
  <hr style="border-top: 3px solid #40916C;">
51
  <div style="text-align: center;">
52
- <p style="color: #1B4332;">Powered by AgentsValley 🌿</p>
53
  </div>
54
  """,
55
  unsafe_allow_html=True
 
12
  st.markdown(
13
  """
14
  <div style="text-align: center; padding: 10px;">
15
+ <h1 style="color: #2D6A4F; font-size: 50px;">Animal Species Identifier 🐾</h1>
16
  <p style="color: #40916C; font-size: 20px;">Snap it, upload it, and identify!</p>
17
  </div>
18
  """,
 
20
  )
21
 
22
 
 
 
23
  file_name = st.file_uploader("Upload an animal image 📸")
24
 
25
  add_vertical_space(1)
 
36
  )
37
 
38
  predictions = animal_pipeline(image)
39
+ col2.markdown("### 🐾 Predictions & Confidence Levels")
40
 
41
  for p in predictions[:3]:
42
  species = p['label'].lower()
 
47
  """
48
  <hr style="border-top: 3px solid #40916C;">
49
  <div style="text-align: center;">
50
+ <p style="color: #1B4332;">Powered by AgentsValley 🐾</p>
51
  </div>
52
  """,
53
  unsafe_allow_html=True