Spaces:
Runtime error
Runtime error
chore: st.text for st.write for outputs
Browse files
app.py
CHANGED
@@ -97,9 +97,9 @@ if information == 'Extract all!':
|
|
97 |
parsed_receipt_info_a = run_prediction(image)
|
98 |
pretrained_model, processor, task_prompt = pretrained_model_b, processor_b, f"<s_cord-v2>"
|
99 |
parsed_receipt_info_b = run_prediction(image)
|
100 |
-
st.
|
101 |
-
st.
|
102 |
else:
|
103 |
st.text(f'parsing 🧾...')
|
104 |
parsed_receipt_info = run_prediction(image)
|
105 |
-
st.
|
|
|
97 |
parsed_receipt_info_a = run_prediction(image)
|
98 |
pretrained_model, processor, task_prompt = pretrained_model_b, processor_b, f"<s_cord-v2>"
|
99 |
parsed_receipt_info_b = run_prediction(image)
|
100 |
+
st.write(f'\nRaw output a:\n{parsed_receipt_info_a}')
|
101 |
+
st.write(f'\nRaw output b:\n{parsed_receipt_info_b}')
|
102 |
else:
|
103 |
st.text(f'parsing 🧾...')
|
104 |
parsed_receipt_info = run_prediction(image)
|
105 |
+
st.write(f'\nRaw output:\n{parsed_receipt_info}')
|