Spaces:
Sleeping
Sleeping
tonyliu404
commited on
Update app.py
Browse files
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:'):
|