Achyut Tiwari commited on
Commit
0a64674
1 Parent(s): daa1528

Update ask.py

Browse files
Files changed (1) hide show
  1. pages/ask.py +13 -13
pages/ask.py CHANGED
@@ -279,19 +279,19 @@ def app():
279
  question = st.text_input(
280
  label='Ask Wikipedia an open-ended question below; for example, "Why do airplanes leave contrails in the sky?"')
281
  #question = ""
282
- spinner = st.empty()
283
- if question !="":
284
- spinner.markdown(
285
- f"""
286
- <div class="loader-wrapper">
287
- <div class="loader">
288
- </div>
289
- <p>Generating answer for: <b>{question}</b></p>
290
- </div>
291
- <label class="loader-note">Answer generation may take up to 20 sec. Please stand by.</label>
292
- """,
293
- unsafe_allow_html=True,
294
- )
295
 
296
  question_response = get_answer(question)
297
  if question_response:
 
279
  question = st.text_input(
280
  label='Ask Wikipedia an open-ended question below; for example, "Why do airplanes leave contrails in the sky?"')
281
  #question = ""
282
+ # spinner = st.empty()
283
+ # if question !="":
284
+ # spinner.markdown(
285
+ # f"""
286
+ # <div class="loader-wrapper">
287
+ # <div class="loader">
288
+ # </div>
289
+ # <p>Generating answer for: <b>{question}</b></p>
290
+ # </div>
291
+ # <label class="loader-note">Answer generation may take up to 20 sec. Please stand by.</label>
292
+ # """,
293
+ # unsafe_allow_html=True,
294
+ #)
295
 
296
  question_response = get_answer(question)
297
  if question_response: