tonyliu404 commited on
Commit
d17c728
·
verified ·
1 Parent(s): 8eefa14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -515,7 +515,7 @@ if recipe_submit and uploaded_image:
515
  """
516
  ),
517
  ]
518
- with col2, st.spinner():
519
  if query:
520
  # Call the OpenAI API
521
  openAIresponse = llm.invoke(openAICall)
@@ -528,7 +528,7 @@ if recipe_submit and uploaded_image:
528
  display_response(RAGresponse)
529
 
530
  elif recipe_submit and query:
531
- with col2, st.spinner():
532
  response = get_response(query)
533
  print(response)
534
  display_response(response)
 
515
  """
516
  ),
517
  ]
518
+ with col2, st.spinner("Generating..."):
519
  if query:
520
  # Call the OpenAI API
521
  openAIresponse = llm.invoke(openAICall)
 
528
  display_response(RAGresponse)
529
 
530
  elif recipe_submit and query:
531
+ with col2, st.spinner("Generating..."):
532
  response = get_response(query)
533
  print(response)
534
  display_response(response)