Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,10 +42,8 @@ if uploaded_file is not None:
|
|
42 |
f"Extracted text from the uploaded file:\n\n{text}\n\n"
|
43 |
f"**Extracted Details:**\n"
|
44 |
f"**Invoice Number:** {details['Invoice Number']}\n"
|
45 |
-
|
46 |
f"**Amount:** {details['Amount']}\n"
|
47 |
f"**Invoice Date:** {details['Invoice Date']}\n"
|
48 |
-
f"**Due Date:** {details['Due Date']}"
|
49 |
)
|
50 |
st.session_state.messages.append({"role": ASSISTANT, "content": assistant_response})
|
51 |
with st.chat_message(ASSISTANT):
|
|
|
42 |
f"Extracted text from the uploaded file:\n\n{text}\n\n"
|
43 |
f"**Extracted Details:**\n"
|
44 |
f"**Invoice Number:** {details['Invoice Number']}\n"
|
|
|
45 |
f"**Amount:** {details['Amount']}\n"
|
46 |
f"**Invoice Date:** {details['Invoice Date']}\n"
|
|
|
47 |
)
|
48 |
st.session_state.messages.append({"role": ASSISTANT, "content": assistant_response})
|
49 |
with st.chat_message(ASSISTANT):
|