Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -369,6 +369,7 @@ if uploaded_image and recipe_submit:
|
|
| 369 |
print("AI CALL RESPONSE: ", openAIresponse.content)
|
| 370 |
|
| 371 |
RAGresponse = get_response(openAIresponse.content + " " + query)
|
|
|
|
| 372 |
with st.expander("Recipe Generation", expanded=True, icon=':material/menu_book:'):
|
| 373 |
st.title('Results: RAG')
|
| 374 |
# RAG the openai response and display
|
|
@@ -400,6 +401,7 @@ elif uploaded_image is not None:
|
|
| 400 |
|
| 401 |
elif recipe_submit:
|
| 402 |
response = get_response(query)
|
|
|
|
| 403 |
with st.expander("**Recipe Generation**", expanded=True, icon=':material/menu_book:'):
|
| 404 |
st.title("Results: RAG")
|
| 405 |
display_response(response)
|
|
|
|
| 369 |
print("AI CALL RESPONSE: ", openAIresponse.content)
|
| 370 |
|
| 371 |
RAGresponse = get_response(openAIresponse.content + " " + query)
|
| 372 |
+
print(RAGresponse)
|
| 373 |
with st.expander("Recipe Generation", expanded=True, icon=':material/menu_book:'):
|
| 374 |
st.title('Results: RAG')
|
| 375 |
# RAG the openai response and display
|
|
|
|
| 401 |
|
| 402 |
elif recipe_submit:
|
| 403 |
response = get_response(query)
|
| 404 |
+
print(response)
|
| 405 |
with st.expander("**Recipe Generation**", expanded=True, icon=':material/menu_book:'):
|
| 406 |
st.title("Results: RAG")
|
| 407 |
display_response(response)
|