eagle0504 commited on
Commit
57ed7f1
·
1 Parent(s): 8abc334

app updated

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -142,8 +142,11 @@ def main():
142
  with st.spinner("Wait for it..."):
143
  st.write(text_from_response)
144
 
 
 
 
145
  use_retrieval_tech = st.sidebar.checkbox(
146
- "Check the box if you want to see a sample retrieved information to download (only use this if this is a document-based task)!",
147
  value=False,
148
  )
149
  if use_retrieval_tech:
@@ -196,8 +199,11 @@ def main():
196
  except:
197
  st.warning("Please verify document source.")
198
 
 
 
 
199
  use_gemini_to_chat = st.sidebar.checkbox(
200
- "Check the box if you want to chat with Gemini (do this if you want Gemini to answwer your questions)!",
201
  value=False,
202
  )
203
  if use_gemini_to_chat:
@@ -230,7 +236,7 @@ def main():
230
  # YOLO
231
  if image is not None:
232
  st.sidebar.success(
233
- "Check the following box to run YOLO algorithm if desired (only do this if the task at hand is an object detection task)!"
234
  )
235
  use_yolo = st.sidebar.checkbox("Use YOLO!", value=False)
236
  if use_yolo:
 
142
  with st.spinner("Wait for it..."):
143
  st.write(text_from_response)
144
 
145
+ st.sidebar.success(
146
+ "Check the box if you want to see a sample retrieved (we had a template of keys, in practice this depends on the stakeholders) information to download (only use this if this is a document-based task)! 👇"
147
+ )
148
  use_retrieval_tech = st.sidebar.checkbox(
149
+ "Retrieve information!",
150
  value=False,
151
  )
152
  if use_retrieval_tech:
 
199
  except:
200
  st.warning("Please verify document source.")
201
 
202
+ st.sidebar.success(
203
+ "Check the box if you want to chat with Gemini (do this if you want Gemini to answwer your questions)! 👇"
204
+ )
205
  use_gemini_to_chat = st.sidebar.checkbox(
206
+ "Chat with Gemini (about the data)!",
207
  value=False,
208
  )
209
  if use_gemini_to_chat:
 
236
  # YOLO
237
  if image is not None:
238
  st.sidebar.success(
239
+ "Check the following box to run YOLO algorithm if desired (only do this if the task at hand is an object detection task)! 👇"
240
  )
241
  use_yolo = st.sidebar.checkbox("Use YOLO!", value=False)
242
  if use_yolo: