mbwanaf commited on
Commit
eae7b9b
Β·
verified Β·
1 Parent(s): 12c7617

update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -15
app.py CHANGED
@@ -120,23 +120,24 @@ with col2:
120
  """,
121
  unsafe_allow_html=True
122
  )
 
123
  else:
124
- #st.info("")
125
-
126
- # === Sidebar Footer Description ===
127
- st.sidebar.markdown("""
128
- ---
129
- ## Swahili VQA App
130
 
131
- This app allows users to ask questions about images in **Swahili**. Powered by a multimodal AI model trained on visual and textual data.
 
 
 
132
 
133
- ## πŸ›  How to Use
134
 
135
- 1. πŸ“€ Upload an image.
136
- 2. πŸ’¬ Type a question in Swahili.
137
- 3. πŸ“© Click **Tuma**.
138
- 4. πŸ€– The model will predict the top 5 possible answers with confidence score.
 
139
 
140
- ## πŸ“Œ Note
141
- πŸŽ“ Designed for educational and research purposes
142
- """)
 
 
120
  """,
121
  unsafe_allow_html=True
122
  )
123
+
124
  else:
125
+ pass # or just remove the else block entirely
 
 
 
 
 
126
 
127
+ # === Sidebar Footer Description (ALWAYS VISIBLE) ===
128
+ st.sidebar.markdown("""
129
+ ---
130
+ ## 🦜 Swahili VQA App
131
 
132
+ This app allows users to ask questions about images in **Swahili**, powered by a multimodal AI model trained on visual and textual data.
133
 
134
+ ### πŸ›  How to Use
135
+ 1. πŸ“€ Upload an image
136
+ 2. πŸ’¬ Type a question in Swahili
137
+ 3. πŸ“© Click **Tuma**
138
+ 4. πŸ€– Get top 5 possible answers with confidence bars
139
 
140
+ ### πŸ“Œ Note
141
+ πŸŽ“ Designed for educational and research purposes only
142
+ ✍️ Designed by **Francis2025**
143
+ """)