tonyliu404 commited on
Commit
e06a6fa
·
verified ·
1 Parent(s): 95c0ea1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -385,7 +385,7 @@ if uploaded_image and recipe_submit:
385
 
386
  RAGresponse = get_response(openAIresponse.content + " " + query)
387
  else:
388
- RAGresponse = predictions[0]
389
  print("RAGresponse: ", RAGresponse)
390
 
391
  with st.expander("Recipe Generation", expanded=True, icon=':material/menu_book:'):
 
385
 
386
  RAGresponse = get_response(openAIresponse.content + " " + query)
387
  else:
388
+ RAGresponse = get_response(predictions[0][0])
389
  print("RAGresponse: ", RAGresponse)
390
 
391
  with st.expander("Recipe Generation", expanded=True, icon=':material/menu_book:'):