Spaces:
Sleeping
Sleeping
Update app.py (#2)
Browse files- Update app.py (ba3732fe0698ecc68f20fb5941900dbe12c51175)
Co-authored-by: Khadija Bayoud <[email protected]>
app.py
CHANGED
@@ -229,16 +229,17 @@ def main():
|
|
229 |
|
230 |
## Conditional display of AI generated responses as a function of user provided prompts
|
231 |
if submit_question:
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
|
|
237 |
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
|
243 |
# Add Google icon button to retrieve links
|
244 |
if st.button(f"Double-Check Response", key="google_button"):
|
|
|
229 |
|
230 |
## Conditional display of AI generated responses as a function of user provided prompts
|
231 |
if submit_question:
|
232 |
+
st.write("This space is undergoing updates. It might not be accessible or fully functional.")
|
233 |
+
# with response_container:
|
234 |
+
# if user_input:
|
235 |
+
# response = generate_response(user_input,str(selected_region), str(date))
|
236 |
+
# st.session_state.past.append(user_input)
|
237 |
+
# st.session_state.generated.append(response)
|
238 |
|
239 |
+
# if st.session_state['generated']:
|
240 |
+
# for i in range(len(st.session_state['generated'])):
|
241 |
+
# message(st.session_state['past'][i], is_user=True, key=str(i) + '_user', logo="https://i.pinimg.com/originals/d5/b2/13/d5b21384ccaaa6f9ef32986f17c50638.png")
|
242 |
+
# message(st.session_state["generated"][i], key=str(i), logo= "https://emojiisland.com/cdn/shop/products/Robot_Emoji_Icon_7070a254-26f7-4a54-8131-560e38e34c2e_large.png?v=1571606114")
|
243 |
|
244 |
# Add Google icon button to retrieve links
|
245 |
if st.button(f"Double-Check Response", key="google_button"):
|