Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -383,11 +383,12 @@ with col1:
|
|
| 383 |
if not uploaded_image:
|
| 384 |
placeholder = Image.open("dish-placeholder.jpg")
|
| 385 |
st.image(placeholder, caption="Placeholder Image.", use_container_width=True)
|
| 386 |
-
st.
|
| 387 |
st.markdown(f"*Donuts*: 98.11%")
|
| 388 |
with col2:
|
| 389 |
st.title('RAG Recipe Result')
|
| 390 |
-
|
|
|
|
| 391 |
|
| 392 |
# Image Classification Section
|
| 393 |
if uploaded_image and recipe_submit:
|
|
|
|
| 383 |
if not uploaded_image:
|
| 384 |
placeholder = Image.open("dish-placeholder.jpg")
|
| 385 |
st.image(placeholder, caption="Placeholder Image.", use_container_width=True)
|
| 386 |
+
st.header("Top Predictions:")
|
| 387 |
st.markdown(f"*Donuts*: 98.11%")
|
| 388 |
with col2:
|
| 389 |
st.title('RAG Recipe Result')
|
| 390 |
+
if not query:
|
| 391 |
+
display_response(sample_RAG)
|
| 392 |
|
| 393 |
# Image Classification Section
|
| 394 |
if uploaded_image and recipe_submit:
|